Skip to content

Commit

Permalink
Signing tools
Browse files Browse the repository at this point in the history
(References: #42)
  • Loading branch information
Aszusz committed Mar 12, 2024
1 parent 35e3ae1 commit 0a2dc30
Showing 1 changed file with 21 additions and 4 deletions.
25 changes: 21 additions & 4 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,6 @@ jobs:
air-version: "33.1"
accept-air-license: true

- name: Show signtool
shell: cmd
run: where signtool

- name: Install NSIS plugin nsProcess
working-directory: MoonshineSDKInstaller/build
run: |
Expand All @@ -78,6 +74,27 @@ jobs:
echo "SM_CLIENT_CERT_PASSWORD=${{ secrets.SM_CLIENT_CERT_PASSWORD }}" >> "$GITHUB_ENV"
echo "SM_THUMBPRINT=${{ secrets.SM_THUMBPRINT }}" >> "$GITHUB_ENV"
- name: Download smtools
shell: cmd
run: |
curl ^
-X GET https://one.digicert.com/signingmanager/api-ui/v1/releases/smtools-windows-x64.msi/download ^
-H "x-api-key:${{ secrets.SM_API_KEY }}" ^
-o smtools-windows-x64.msi
- name: Setup SSM KSP for signing
shell: cmd
run: |
msiexec /i smtools-windows-x64.msi /quiet /qn
smksp_registrar.exe list
smctl.exe keypair ls
C:\Windows\System32\certutil.exe -csp "DigiCert Signing Manager KSP" -key -user
smksp_cert_sync.exe
- name: Show signtool
shell: cmd
run: where signtool

- name: Build with Ant
shell: cmd
run: >
Expand Down

0 comments on commit 0a2dc30

Please sign in to comment.