Skip to content

Commit 89ca783

Browse files
committed
fix DigiCert installer race in CI
1 parent 004094b commit 89ca783

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/build-electron.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,9 @@ jobs:
185185
shell: cmd
186186
run: |
187187
curl -X GET https://download.chia.net/dc/smtools-windows-x64.msi -o smtools-windows-x64.msi
188-
msiexec /i smtools-windows-x64.msi /quiet /qn
188+
start "" /wait msiexec.exe /i smtools-windows-x64.msi /qn /norestart
189+
set "installer_exit=%ERRORLEVEL%"
190+
if not "%installer_exit%"=="0" if not "%installer_exit%"=="3010" exit /b %installer_exit%
189191
smksp_registrar.exe list
190192
smctl.exe keypair ls
191193
C:\Windows\System32\certutil.exe -csp "DigiCert Signing Manager KSP" -key -user

0 commit comments

Comments
 (0)