Skip to content

Commit b10eaa4

Browse files
committed
Sign with SignPath
1 parent 31f7fb1 commit b10eaa4

1 file changed

Lines changed: 47 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ jobs:
6060
run: Src\Setup\BuildBinaries.bat
6161

6262
- name: Upload binaries
63+
id: upload-binaries
6364
uses: actions/upload-artifact@v7
6465
with:
6566
name: Binaries
@@ -69,33 +70,79 @@ jobs:
6970
!Src/Setup/Output/*.skin7
7071
!Src/Setup/Output/*.zip
7172
73+
- name: Sign binaries with SignPath
74+
uses: signpath/github-action-submit-signing-request@v2
75+
with:
76+
api-token: '${{ secrets.SIGNPATH_API_TOKEN }}'
77+
organization-id: 'b34b60e3-e5bf-4a6e-a13c-dcf641b4362c'
78+
project-slug: 'Open-Shell-Menu'
79+
signing-policy-slug: 'test-signing'
80+
artifact-configuration-slug: 'Binaries'
81+
github-artifact-id: '${{ steps.upload-binaries.outputs.artifact-id }}'
82+
wait-for-completion: true
83+
output-artifact-directory: 'Src/Setup/Output/'
84+
7285
- name: Build installers
7386
shell: cmd
7487
env:
7588
CS_VERSION: ${{ steps.versioning.outputs.NEW_VERSION }}
7689
run: Src\Setup\_BuildEnglish.bat
7790

7891
- name: Upload installers
92+
id: upload-installers
7993
uses: actions/upload-artifact@v7
8094
with:
8195
name: MSI
8296
path: |
8397
Src/Setup/Temp/*.msi
8498
99+
- name: Sign installers with SignPath
100+
uses: signpath/github-action-submit-signing-request@v2
101+
with:
102+
api-token: '${{ secrets.SIGNPATH_API_TOKEN }}'
103+
organization-id: 'b34b60e3-e5bf-4a6e-a13c-dcf641b4362c'
104+
project-slug: 'Open-Shell-Menu'
105+
signing-policy-slug: 'test-signing'
106+
artifact-configuration-slug: 'Installers'
107+
github-artifact-id: '${{ steps.upload-installers.outputs.artifact-id }}'
108+
wait-for-completion: true
109+
output-artifact-directory: 'Src/Setup/Temp/'
110+
85111
- name: Build final
86112
shell: cmd
87113
env:
88114
CS_VERSION: ${{ steps.versioning.outputs.NEW_VERSION }}
89115
run: Src\Setup\BuildArchives.bat
90116

91117
- name: Upload final
118+
id: upload-final
92119
uses: actions/upload-artifact@v7
93120
with:
94121
name: Final
95122
path: |
96123
Src/Setup/Final/
97124
!Src/Setup/Final/OpenShellLoc.zip
98125
126+
- name: Sign final artifacts with SignPath
127+
uses: signpath/github-action-submit-signing-request@v2
128+
with:
129+
api-token: '${{ secrets.SIGNPATH_API_TOKEN }}'
130+
organization-id: 'b34b60e3-e5bf-4a6e-a13c-dcf641b4362c'
131+
project-slug: 'Open-Shell-Menu'
132+
signing-policy-slug: 'test-signing'
133+
artifact-configuration-slug: 'Final'
134+
github-artifact-id: '${{ steps.upload-final.outputs.artifact-id }}'
135+
wait-for-completion: true
136+
output-artifact-directory: 'Src/Setup/Final/'
137+
138+
- name: Upload final (signed)
139+
uses: actions/upload-artifact@v7
140+
with:
141+
name: Final-signed
142+
path: |
143+
Src/Setup/Final/
144+
!Src/Setup/Final/OpenShellLoc.zip
145+
99146
release:
100147
if: github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/master' # Only manual master builds
101148
needs: build

0 commit comments

Comments
 (0)