Skip to content

Commit

Permalink
powershell Sign
Browse files Browse the repository at this point in the history
  • Loading branch information
vnoves committed Feb 2, 2024
1 parent 07de668 commit 0df69c8
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,10 @@ jobs:
$dlls = dir -Path .\ -Filter "MeshOpt.dll" -Recurse | %{$_.FullName}
foreach ($dll in $dlls)
{
$signtool = "C:\Program Files (x86)\Windows Kits\10\bin\x64\signtool.exe"
if (Test-Path $signtool) {
Write-Error "Foundound"
} else {
Write-Error "Signtool not found"
}
"C:\Program Files (x86)\Windows Kits\10\bin\x64\signtool.exe" sign /f "credentials.pfx" /p ${{ secrets.EVERSE_CERTIFICATE_KEY }} /t http://timestamp.digicert.com "$dll"
Write-Host $dll
$signtool = "C:\Program Files (x86)\Microsoft SDKs\ClickOnce\SignTool\signtool.exe"
& $signtool sign /f "credentials.pfx" /p ${{ secrets.EVERSE_CERTIFICATE_KEY }} /t http://timestamp.digicert.com "$dll"
}
shell: powershell

# Create Nuget Package
- name: Create NuGet package
Expand Down

0 comments on commit 0df69c8

Please sign in to comment.