Skip to content

Commit 5172c6b

Browse files
committed
Generate artifact attestation.
1 parent f48abc4 commit 5172c6b

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,14 @@ jobs:
4242
permissions:
4343
contents: write
4444
id-token: write
45+
attestations: write
4546

4647
steps:
4748
- name: Checkout
4849
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #v6.0.2
4950

50-
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c #v8.0.1
51-
name: Download executables
51+
- name: Download executables
52+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c #v8.0.1
5253
with:
5354
path: ${{github.workspace}}/Artifacts
5455
merge-multiple: true
@@ -67,6 +68,13 @@ jobs:
6768
run: |
6869
powershell -Command "Compress-Archive -Path 'ColorProfiles','Configs','Installer','OpenCL','PerlMagick','Tools' -DestinationPath 'files.zip'"
6970
71+
- name: Generate artifact attestation
72+
uses: actions/attest@59d89421af93a897026c735860bf21b6eb4f7b26 #v4.1.0
73+
with:
74+
subject-path: |
75+
${{github.workspace}}/Artifacts/Configure.*
76+
${{github.workspace}}/files.zip
77+
7078
- name: Set version
7179
shell: bash
7280
run: echo "VERSION=$(date +'%Y.%m.%d.%H%M')" >> $GITHUB_ENV

0 commit comments

Comments
 (0)