We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 28645ea + 7fedcd4 commit 125a27bCopy full SHA for 125a27b
1 file changed
.github/workflows/dotnet.yml
@@ -18,6 +18,8 @@ permissions:
18
issues: read
19
checks: write
20
pull-requests: write
21
+ id-token: write
22
+ attestations: write
23
24
jobs:
25
build:
@@ -61,14 +63,21 @@ jobs:
61
63
dotnet pack --configuration Release --no-build
62
64
65
- name: Upload Package Artifact
66
+ id: upload
67
uses: actions/upload-artifact@v6
68
with:
- name: nuget-package
69
+ name: artifacts
70
path: |
71
**/*.nupkg
72
**/*.snupkg
73
retention-days: 14
74
75
+ - name: Build Attestation
76
+ uses: actions/attest-build-provenance@v3
77
+ with:
78
+ subject-name: artifacts.zip
79
+ subject-digest: sha256:${{ steps.upload.outputs.artifact-digest }}
80
+
81
- name: Upload test results to Codecov
82
if: ${{ !cancelled() }}
83
uses: codecov/codecov-action@v5
0 commit comments