Skip to content

v0.3: Another much better release #3

v0.3: Another much better release

v0.3: Another much better release #3

Workflow file for this run

name: Release
on:
workflow_dispatch:
release:
types:
- published
jobs:
build_sdist:
name: Build and upload source distribution
runs-on: ubuntu-latest
permissions:
id-token: write
# Comment this line for testing
if: github.event_name == 'release' && github.event.action == 'published'
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Hatch
uses: pypa/hatch@install
- name: Build
run: hatch build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
# Uncomment these lines for testing
# with:
# repository-url: https://test.pypi.org/legacy/