Skip to content

Release

Release #9

Workflow file for this run

name: Release
on:
workflow_dispatch:
inputs:
version:
description: Version to release
required: true
merge_target:
description: Target branch to merge into. Uses the default branch as a fallback (optional)
required: true
jobs:
release:
runs-on: ubuntu-latest
name: "Release a new version"
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GH_RELEASE_PAT }}
fetch-depth: 0
- name: Build package
run: python -m build
- name: Publish to PyPI
uses: pypa/[email protected]