Skip to content

[ci] React on a tag push #2

[ci] React on a tag push

[ci] React on a tag push #2

Workflow file for this run

name: PyPI Upload
on:
push:
tags:
- [ 'v*.*.*' ]
jobs:
dist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: hynek/build-and-inspect-python-package@v2
publish:
needs: [dist]
environment: pypi
permissions:
id-token: write
attestations: write
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v4
with:
name: Packages
path: dist
- name: Generate artifact attestation for sdist and wheel
uses: actions/attest-build-provenance@v2
with:
subject-path: "dist/*"
- uses: pypa/gh-action-pypi-publish@release/v1