mirror of
https://github.com/Open-Shell/Open-Shell-Menu.git
synced 2026-08-09 17:41:11 +10:00
Sign with SignPath
This commit is contained in:
@@ -60,6 +60,7 @@ jobs:
|
|||||||
run: Src\Setup\BuildBinaries.bat
|
run: Src\Setup\BuildBinaries.bat
|
||||||
|
|
||||||
- name: Upload binaries
|
- name: Upload binaries
|
||||||
|
id: upload-binaries
|
||||||
uses: actions/upload-artifact@v7
|
uses: actions/upload-artifact@v7
|
||||||
with:
|
with:
|
||||||
name: Binaries
|
name: Binaries
|
||||||
@@ -69,6 +70,18 @@ jobs:
|
|||||||
!Src/Setup/Output/*.skin7
|
!Src/Setup/Output/*.skin7
|
||||||
!Src/Setup/Output/*.zip
|
!Src/Setup/Output/*.zip
|
||||||
|
|
||||||
|
- name: Sign binaries with SignPath
|
||||||
|
uses: signpath/github-action-submit-signing-request@v2
|
||||||
|
with:
|
||||||
|
api-token: '${{ secrets.SIGNPATH_API_TOKEN }}'
|
||||||
|
organization-id: 'b34b60e3-e5bf-4a6e-a13c-dcf641b4362c'
|
||||||
|
project-slug: 'Open-Shell-Menu'
|
||||||
|
signing-policy-slug: 'test-signing'
|
||||||
|
artifact-configuration-slug: 'Binaries'
|
||||||
|
github-artifact-id: '${{ steps.upload-binaries.outputs.artifact-id }}'
|
||||||
|
wait-for-completion: true
|
||||||
|
output-artifact-directory: 'Src/Setup/Output/'
|
||||||
|
|
||||||
- name: Build installers
|
- name: Build installers
|
||||||
shell: cmd
|
shell: cmd
|
||||||
env:
|
env:
|
||||||
@@ -76,12 +89,25 @@ jobs:
|
|||||||
run: Src\Setup\_BuildEnglish.bat
|
run: Src\Setup\_BuildEnglish.bat
|
||||||
|
|
||||||
- name: Upload installers
|
- name: Upload installers
|
||||||
|
id: upload-installers
|
||||||
uses: actions/upload-artifact@v7
|
uses: actions/upload-artifact@v7
|
||||||
with:
|
with:
|
||||||
name: MSI
|
name: MSI
|
||||||
path: |
|
path: |
|
||||||
Src/Setup/Temp/*.msi
|
Src/Setup/Temp/*.msi
|
||||||
|
|
||||||
|
- name: Sign installers with SignPath
|
||||||
|
uses: signpath/github-action-submit-signing-request@v2
|
||||||
|
with:
|
||||||
|
api-token: '${{ secrets.SIGNPATH_API_TOKEN }}'
|
||||||
|
organization-id: 'b34b60e3-e5bf-4a6e-a13c-dcf641b4362c'
|
||||||
|
project-slug: 'Open-Shell-Menu'
|
||||||
|
signing-policy-slug: 'test-signing'
|
||||||
|
artifact-configuration-slug: 'Installers'
|
||||||
|
github-artifact-id: '${{ steps.upload-installers.outputs.artifact-id }}'
|
||||||
|
wait-for-completion: true
|
||||||
|
output-artifact-directory: 'Src/Setup/Temp/'
|
||||||
|
|
||||||
- name: Build final
|
- name: Build final
|
||||||
shell: cmd
|
shell: cmd
|
||||||
env:
|
env:
|
||||||
@@ -89,6 +115,7 @@ jobs:
|
|||||||
run: Src\Setup\BuildArchives.bat
|
run: Src\Setup\BuildArchives.bat
|
||||||
|
|
||||||
- name: Upload final
|
- name: Upload final
|
||||||
|
id: upload-final
|
||||||
uses: actions/upload-artifact@v7
|
uses: actions/upload-artifact@v7
|
||||||
with:
|
with:
|
||||||
name: Final
|
name: Final
|
||||||
@@ -96,6 +123,26 @@ jobs:
|
|||||||
Src/Setup/Final/
|
Src/Setup/Final/
|
||||||
!Src/Setup/Final/OpenShellLoc.zip
|
!Src/Setup/Final/OpenShellLoc.zip
|
||||||
|
|
||||||
|
- name: Sign final artifacts with SignPath
|
||||||
|
uses: signpath/github-action-submit-signing-request@v2
|
||||||
|
with:
|
||||||
|
api-token: '${{ secrets.SIGNPATH_API_TOKEN }}'
|
||||||
|
organization-id: 'b34b60e3-e5bf-4a6e-a13c-dcf641b4362c'
|
||||||
|
project-slug: 'Open-Shell-Menu'
|
||||||
|
signing-policy-slug: 'test-signing'
|
||||||
|
artifact-configuration-slug: 'Final'
|
||||||
|
github-artifact-id: '${{ steps.upload-final.outputs.artifact-id }}'
|
||||||
|
wait-for-completion: true
|
||||||
|
output-artifact-directory: 'Src/Setup/Final/'
|
||||||
|
|
||||||
|
- name: Upload final (signed)
|
||||||
|
uses: actions/upload-artifact@v7
|
||||||
|
with:
|
||||||
|
name: Final-signed
|
||||||
|
path: |
|
||||||
|
Src/Setup/Final/
|
||||||
|
!Src/Setup/Final/OpenShellLoc.zip
|
||||||
|
|
||||||
release:
|
release:
|
||||||
if: github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/master' # Only manual master builds
|
if: github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/master' # Only manual master builds
|
||||||
needs: build
|
needs: build
|
||||||
|
|||||||
Reference in New Issue
Block a user