Skip to content

v0.2

v0.2 #2

Workflow file for this run

name: Publish to PYPI
on:
release:
types: [published]
jobs:
build-n-publish:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@master
- uses: actions/setup-python@v2
- run: pip install poetry
- run: poetry version ${GITHUB_REF:10}
- run: poetry build
- run: pip install twine==4.0.1
- run: twine upload dist/* -u __token__ -p ${{ secrets.PYPI_API_TOKEN }}
- uses: EndBug/[email protected]
with:
author_name: github-actions
author_email: 41898282+github-actions[bot]@users.noreply.github.com
add: pyproject.toml
branch: main
message: Published new version