Skip to content

Commit

Permalink
Add provenance attestations.
Browse files Browse the repository at this point in the history
  • Loading branch information
aaugustin committed Aug 28, 2024
1 parent 62d70f4 commit 157f790
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ jobs:
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
permissions:
id-token: write
attestations: write
contents: write
steps:
- name: Download artifacts
Expand All @@ -80,6 +81,10 @@ jobs:
pattern: dist-*
merge-multiple: true
path: dist
- name: Attest provenance
uses: actions/attest-build-provenance@v1
with:
subject-path: dist/*
- name: Upload to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
- name: Create GitHub release
Expand Down

0 comments on commit 157f790

Please sign in to comment.