Skip to content

0.2.1

0.2.1 #16

Workflow file for this run

# Workflow to build and release a new version
name: Release to PyPI
on:
release:
types: [published]
env:
PYTHON_VERSION: "3.10"
jobs:
build-and-release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup project
uses: ./.github/actions/setup-project
- name: Run CI checks
run: poetry run make
- name: Build package
run: poetry build
- name: Publish package to PyPI
run: poetry publish --username=__token__ --password="${{ secrets.PYPI_TOKEN }}"