Skip to content

Commit

Permalink
Add artifact attestations for release. (#2442)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsirois committed Jun 26, 2024
1 parent 0860a90 commit 0b15791
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ jobs:
needs: determine-tag
runs-on: ubuntu-22.04
environment: Release
permissions:
id-token: write
attestations: write
steps:
- name: Checkout Pex ${{ needs.determine-tag.outputs.release-tag }}
uses: actions/checkout@v4
Expand All @@ -88,6 +91,12 @@ jobs:
uses: pantsbuild/actions/run-tox@b16b9cf47cd566acfe217b1dafc5b452e27e6fd7
with:
tox-env: docs -- --no-html --pdf
- name: Generate Pex ${{ needs.determine-tag.outputs.release-tag }} Artifact Attestations
uses: actions/attest-build-provenance@v1
with:
subject-path: |
dist/pex
dist/docs/pdf/pex.pdf
- name: Prepare Changelog
id: prepare-changelog
uses: a-scie/actions/[email protected]
Expand Down

0 comments on commit 0b15791

Please sign in to comment.