v0.11.2 #32
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 | |
on: | |
release: | |
types: [published] | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
environment: release | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install and configure Poetry | |
uses: snok/install-poetry@v1 | |
with: | |
version: "1.6.1" | |
virtualenvs-in-project: true | |
- name: Install dynamic versioning plugin for Poetry | |
run: poetry self add "poetry-dynamic-versioning[plugin]" | |
- name: Build and publish to PyPI | |
run: poetry publish --build --username __token__ --password ${{ secrets.PYPI_TOKEN }} |