Skip to content

Commit 5240d42

Browse files
committed
sign fix 3
1 parent 749bb04 commit 5240d42

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/build_and_scan.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,10 @@ jobs:
4040
$pfxBytes = [System.Convert]::FromBase64String($pfxBase64)
4141
[IO.File]::WriteAllBytes("kingtriton.pfx", $pfxBytes)
4242
43-
- name: Sign EXE
43+
- name: Install Windows SDK Signing Tools
4444
shell: powershell
4545
run: |
46-
$signtool = "${env:ProgramFiles(x86)}\Windows Kits\10\bin\x64\signtool.exe"
47-
if (!(Test-Path $signtool)) {
48-
$signtool = "${env:ProgramFiles(x86)}\Windows Kits\10\bin\10.0.22621.0\x64\signtool.exe"
49-
}
50-
& "$signtool" sign /f kingtriton.pfx /p "${{ secrets.PFX_PASSWORD }}" /tr http://timestamp.digicert.com /td sha256 /fd sha256 "dist\PythonProjectMngr.exe"
46+
choco install windows-sdk-10-version-2004-all -y
5147
5248
- name: Upload artifact
5349
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)