Skip to content

Publish

Publish #10

Workflow file for this run

name: Publish
on:
release:
types: [published]
jobs:
publish:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@master
- uses: actions/setup-python@v1
with:
python-version: 3.9
- name: Install poetry
uses: abatilo/[email protected]
with:
poetry-version: 1.3.1
- name: Install pip dependencies
run: poetry install
- name: Package
run: |
poetry build
- name: Publish to PyPI
uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.pypi_token }}