Skip to content

Commit 6aeea42

Browse files
authored
ci: attest output after signing
1 parent 948ad41 commit 6aeea42

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,6 @@ jobs:
7676
GOARCH: ${{ matrix.arch }}
7777
CGO_ENABLED: 0
7878

79-
- name: Attest output
80-
uses: actions/attest-build-provenance@v2
81-
if: env.IS_UNIX == 'true' || env.IS_WIN == 'true'
82-
with:
83-
subject-path: "./spicetify${{ matrix.os == 'windows' && '.exe' || '' }}"
84-
subject-name: "spicetify v${{ env.TAG }} (${{ matrix.os }}, ${{ (matrix.os == 'windows' && matrix.arch == 'amd64' && 'x64') || (matrix.os == 'windows' && matrix.arch == '386' && 'x32') || matrix.arch }})"
85-
8679
- name: Upload Artifact for Signing
8780
if: env.IS_WIN == 'true'
8881
id: upload-artifact-for-signing
@@ -108,6 +101,13 @@ jobs:
108101
run: |
109102
cp ./signed/spicetify.exe ./spicetify.exe
110103
104+
- name: Attest output
105+
uses: actions/attest-build-provenance@v2
106+
if: env.IS_UNIX == 'true' || env.IS_WIN == 'true'
107+
with:
108+
subject-path: "./spicetify${{ matrix.os == 'windows' && '.exe' || '' }}"
109+
subject-name: "spicetify v${{ env.TAG }} (${{ matrix.os }}, ${{ (matrix.os == 'windows' && matrix.arch == 'amd64' && 'x64') || (matrix.os == 'windows' && matrix.arch == '386' && 'x32') || matrix.arch }})"
110+
111111
- name: 7z - .tar
112112
if: env.IS_UNIX == 'true'
113113
uses: edgarrc/action-7z@v1

0 commit comments

Comments
 (0)