Skip to content

Commit

Permalink
release: switch to PEP 740 attestations
Browse files Browse the repository at this point in the history
Signed-off-by: William Woodruff <[email protected]>
  • Loading branch information
woodruffw committed Sep 30, 2024
1 parent c1da8de commit 6d684f6
Showing 1 changed file with 2 additions and 22 deletions.
24 changes: 2 additions & 22 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,28 +31,6 @@ jobs:
name: python-package-distributions
path: dist/

sign-release:
name: Sign and attach signatures to GitHub release
needs:
- build
runs-on: ubuntu-latest
permissions:
id-token: write # Used to sign the release artifacts.
contents: write # Used to attach signing artifacts to the release.

steps:
- name: Download distributions
uses: actions/download-artifact@v4
with:
name: python-package-distributions
path: dist/

- name: sign
uses: sigstore/[email protected]
with:
inputs: ./dist/*.tar.gz ./dist/*.whl
release-signing-artifacts: true

publish:
name: upload distributions to PyPI
needs:
Expand All @@ -70,3 +48,5 @@ jobs:

- name: publish
uses: pypa/gh-action-pypi-publish@release/v1
with:
attestations: true

0 comments on commit 6d684f6

Please sign in to comment.