Skip to content

Commit

Permalink
remove code signing from GH actions (#2004)
Browse files Browse the repository at this point in the history
cert has expired

Signed-off-by: sriv <srikanth.ddit@gmail.com>
  • Loading branch information
sriv authored May 25, 2021
1 parent f26d624 commit 760dc59
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 760dc59

Please sign in to comment.