Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ on:
ref:
required: true
type: string
attestations:
required: true
type: boolean

permissions:
attestations: write # Required for attestations
Expand Down Expand Up @@ -111,6 +114,7 @@ jobs:
-DestinationPath artifacts/mono-${{ matrix.target }}.zip

- name: Create artifact attestation
if: ${{ inputs.attestations == true }}
uses: actions/attest-build-provenance@v1
with:
show-summary: false
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
uses: ./.github/workflows/build.yml
with:
ref: ${{ github.event.pull_request.merge_commit_sha }}
attestations: true

tag:
name: Create tag
Expand Down