File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -167,6 +167,7 @@ jobs:
167167 shell : cmd
168168 env :
169169 SM_HOST : ${{ secrets.SM_HOST }}
170+ SM_KEYPAIR_ALIAS : ${{ secrets.SM_KEYPAIR_ALIAS }}
170171 SM_API_KEY : ${{ secrets.SM_API_KEY }}
171172 SM_CLIENT_CERT_PASSWORD : ${{ secrets.SM_CLIENT_CERT_PASSWORD }}
172173 SM_CODE_SIGNING_CERT_SHA1_HASH : ${{ secrets.SM_CODE_SIGNING_CERT_SHA1_HASH }}
@@ -175,8 +176,7 @@ jobs:
175176 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
176177 msiexec /i smtools-windows-x64.msi /quiet /qn
177178 C:\Windows\System32\certutil.exe -csp "DigiCert Signing Manager KSP" -key -user
178- smksp_cert_sync.exe
179- smctl windows certsync --keypair-alias=key_838290773
179+ smctl windows certsync --keypair-alias=%SM_KEYPAIR_ALIAS%
180180
181181 :: sign executable
182182 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