v2.3.0 #7
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish to PyPi | |
on: | |
release: | |
types: [created] | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
- name: Install Poetry | |
run: pip install poetry | |
- name: Build and publish | |
run: poetry publish --build --username __token__ --password "$PYPI_TOKEN" | |
env: | |
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} |