Skip to content

Release

Release #58

Workflow file for this run

name: Release
on:
push:
tags: "v[0-9]+.[0-9]+.[0-9]+"
jobs:
test:
uses: ./.github/workflows/test.yaml
build-and-publish:
needs: test
runs-on: ubuntu-latest
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- name: Checkout
uses: actions/checkout@v6
- run: git branch
- run: git tag
# - name: Fetch tags
# run: git fetch --prune --unshallow --tags
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.x'
- name: Install build dependencies
run: python -m pip install -U build
- name: Build
run: python -m build .
# - name: Publish
# uses: pypa/gh-action-pypi-publish@release/v1