Skip to content

chore: Release v3 (#207) #403

chore: Release v3 (#207)

chore: Release v3 (#207) #403

Workflow file for this run

name: Build
on:
push:
tags: ["*"]
permissions: {}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build wheel and sdist
runs-on: ubuntu-24.04
timeout-minutes: 5
permissions:
contents: read # for checkout
outputs:
name: ${{ steps.baipp.outputs.package_name }}
version: ${{ steps.baipp.outputs.package_version }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: hynek/build-and-inspect-python-package@2abe76da66d0a6a4a227101f9348ee855797cfa5 # v3.0.1
id: baipp
publish:
name: Publish to PyPI
runs-on: ubuntu-24.04
timeout-minutes: 5
needs: [build]
environment:
name: pypi
url: https://pypi.org/project/${{ needs.build.outputs.name }}/${{ needs.build.outputs.version }}
permissions:
id-token: write # IMPORTANT: mandatory for trusted publishing
steps:
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
name: Packages
path: dist
- uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2