Skip to content

v1.3.4.post1

v1.3.4.post1 #38

Workflow file for this run

name: build
on:
release:
types:
- published
jobs:
publish:
name: publish package to PyPI
runs-on: ubuntu-22.04 # Latest not supported by actions-poetry@v3
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 }}