Skip to content

Commit

Permalink
add attestation bundle to release
Browse files Browse the repository at this point in the history
  • Loading branch information
briandfoy committed Jul 10, 2024
1 parent 64a6938 commit cfde639
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,15 +97,19 @@ jobs:
cat Changes-latest
id: extract
- name: Generate artifact attestation
id: attestation
uses: actions/attest-build-provenance@v1
with:
subject-path: "*.tar.gz"
subject-path: ${{ env.ASSET_NAME }}
subject-name: ${{ env.ASSET_NAME }}
- name: upload
uses: softprops/action-gh-release@v1
with:
body_path: Changes-latest
draft: false
prerelease: false
name: ${{ steps.version.outputs.name }}
files: "*.tar.gz"
files: |
${{ env.ASSET_NAME }}
${{ steps.attestation,outputs.bundle-path }}
token: ${{ secrets.RELEASE_ACTION_TOKEN }}

0 comments on commit cfde639

Please sign in to comment.