Skip to content

1.0.1

1.0.1 #2

Workflow file for this run

name: Package and publish
on:
release:
types: [published]
jobs:
publish:
runs-on: ubuntu-latest
environment: pypi
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup Python 3.13
uses: actions/[email protected]
with:
python-version: "3.13"
- name: Install Poetry
run: pipx install poetry --python $(which python)
- name: Install project
run: poetry install
- name: Test with tox
run: poetry run tox
- name: Build package
run: poetry build
- name: Publish package
env:
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
run: poetry publish -u __token__ -p "$PYPI_API_TOKEN"