File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -166,6 +166,7 @@ jobs:
166
166
shell : cmd
167
167
env :
168
168
SM_HOST : ${{ secrets.SM_HOST }}
169
+ SM_KEYPAIR_ALIAS : ${{ secrets.SM_KEYPAIR_ALIAS }}
169
170
SM_API_KEY : ${{ secrets.SM_API_KEY }}
170
171
SM_CLIENT_CERT_PASSWORD : ${{ secrets.SM_CLIENT_CERT_PASSWORD }}
171
172
SM_CODE_SIGNING_CERT_SHA1_HASH : ${{ secrets.SM_CODE_SIGNING_CERT_SHA1_HASH }}
@@ -174,7 +175,7 @@ jobs:
174
175
curl -X GET https://one.digicert.com/signingmanager/api-ui/v1/releases/smtools-windows-x64.msi/download -H "x-api-key:%SM_API_KEY%" -o smtools-windows-x64.msi
175
176
msiexec /i smtools-windows-x64.msi /quiet /qn
176
177
C:\Windows\System32\certutil.exe -csp "DigiCert Signing Manager KSP" -key -user
177
- smksp_cert_sync.exe
178
+ smctl windows certsync --keypair-alias=%SM_KEYPAIR_ALIAS%
178
179
179
180
:: sign executable
180
181
signtool.exe sign /sha1 %SM_CODE_SIGNING_CERT_SHA1_HASH% /tr http://timestamp.digicert.com /td SHA256 /fd SHA256 ".\dist\cycode-cli.exe"
You can’t perform that action at this time.
0 commit comments