v1.3.3 #36
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: build | |
on: | |
release: | |
types: | |
- published | |
jobs: | |
publish: | |
name: publish package to PyPI | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout repository | |
uses: actions/checkout@v4 | |
- name: install Poetry | |
uses: abatilo/actions-poetry@v3 | |
- name: install Dunamai | |
run: pip install dunamai | |
- name: extract version from VCS | |
run: poetry version $(dunamai from any) | |
- name: build wheel and source | |
run: poetry build | |
- name: upload wheel and source | |
run: poetry publish --username __token__ --password ${{ secrets.PYPI_TOKEN }} |