1.0.0-rc.11 #40
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: Upload Python Package | |
on: | |
release: | |
types: [created] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install poetry | |
run: | | |
sudo apt install -y pipx | |
pipx ensurepath | |
pipx install poetry | |
pipx inject poetry poetry-plugin-export | |
- name: Build and publish to Python package repository | |
run: | | |
poetry build | |
poetry config pypi-token.pypi "${{ secrets.PYPI_TOKEN }}" | |
poetry publish |