Skip to content

Commit

Permalink
Add artifact attestation to workflows.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrp committed May 6, 2024
1 parent 30a9114 commit b3680e8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ on:
branches:
- master
permissions:
attestations: write
contents: read
id-token: write
packages: write
defaults:
run:
Expand Down Expand Up @@ -34,6 +36,9 @@ jobs:
- name: Run Cake
run: |
./cake upload-core-github
- uses: actions/[email protected]
with:
subject-path: out/pkg/debug/*.nupkg
- name: Upload artifacts
if: always()
uses: actions/[email protected]
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ on:
types:
- published
permissions:
attestations: write
contents: read
id-token: write
defaults:
run:
shell: bash
Expand Down Expand Up @@ -33,6 +35,9 @@ jobs:
- name: Run Cake
run: |
./cake upload-core-nuget -c Release
- uses: actions/[email protected]
with:
subject-path: out/pkg/release/*.nupkg
- name: Upload artifacts
if: always()
uses: actions/[email protected]
Expand Down

0 comments on commit b3680e8

Please sign in to comment.