v2.7.5 #51
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 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Install dependencies | |
run: python -m pip install poetry | |
- name: Build and publish | |
env: | |
POETRY_USERNAME: ${{ secrets.PYPI_USERNAME }} | |
POETRY_PASSWORD: ${{ secrets.PYPI_PASSWORD }} | |
run: | | |
poetry build | |
poetry publish -u $POETRY_USERNAME -p $POETRY_PASSWORD |