Skip to content

v1.9.6

v1.9.6 #54

Workflow file for this run

name: Build & Publish to PyPI
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write # needed for PyPI trusted publisher
steps:
- uses: actions/checkout@v3
- name: Install Hatch
run: pip install hatch
- name: Build package
run: hatch build
- name: Test package
run: hatch test
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@67339c736fd9354cd4f8cb0b744f2b82a74b5c70 # v1.12.3