From faf7069dd80edefaf06a50cc314dbdbd9bc7a38a Mon Sep 17 00:00:00 2001 From: sriv Date: Tue, 25 May 2021 17:46:52 +0530 Subject: [PATCH] remove code signing from GH actions cert has expired Signed-off-by: sriv --- .github/workflows/release.yml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e3de5a484..5a55465e4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -44,27 +44,17 @@ jobs: - name: Prep installer generation shell: powershell - env: - SIGNING_CERT: ${{ secrets.WINDOWS_SIGNING_CERT }} run: | Start-Sleep -Milliseconds 1 [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 Invoke-WebRequest "https://sourceforge.net/projects/nsis/files/NSIS%203/3.06.1/nsis-3.06.1-strlen_8192.zip/download" -UseBasicParsing -UserAgent [Microsoft.PowerShell.Commands.PSUserAgent]::Chrome -Outfile "./nsis.zip" Expand-Archive -Force -LiteralPath ./nsis.zip -DestinationPath "C:\Program Files (x86)\NSIS\" - echo "C:\Program Files (x86)\Windows kits\10\App Certification Kit\" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append - [IO.File]::WriteAllBytes('.\cert.p12', [Convert]::FromBase64String($Env:SIGNING_CERT)) - echo "CERT_FILE=$Env:GITHUB_WORKSPACE/cert.p12" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append - name: Compile gauge run: | go run build/make.go --verbose --all-platforms Get-ChildItem -Recurse .\bin - - name: Sign - shell: pwsh - run: | - .\build\sign_windows_artifacts.ps1 - - name: Cleanup if: always() run: rm $Env:CERT_FILE