v1.20.1 #25
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@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
- 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 }} |