1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00
royalnet/.github/workflows/publish.yml

21 lines
445 B
YAML
Raw Permalink Normal View History

2020-07-30 22:56:46 +00:00
name: Publish to PyPI
on:
release:
types: [created]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v2
2020-07-30 23:40:58 +00:00
- name: Build and publish the package
2020-07-30 22:56:46 +00:00
uses: abatilo/actions-poetry@v1.5.0
2020-07-30 23:40:58 +00:00
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.POETRY_PYPI_TOKEN_PYPI }}
2020-07-30 22:56:46 +00:00
with:
python_version: 3.8
poetry_version: 1.0
2020-07-30 23:40:58 +00:00
args: publish --build