Skip to content

Commit

Permalink
Update BuildDeploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisPulman authored May 18, 2024
1 parent 7ed718e commit 584c9a9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/BuildDeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ on:
branches:
- main

env:
configuration: Release

jobs:
windows-latest:
name: windows-latest
Expand Down Expand Up @@ -73,7 +76,7 @@ jobs:
run: |
$pfx_cert_byte = [System.Convert]::FromBase64String("${{ secrets.SIGNING_CERTIFICATE }}")
[IO.File]::WriteAllBytes("GitHubActionsWorkflow.pfx", $pfx_cert_byte)
$secure_password = ConvertTo-SecureString ${{ secrets.SIGN_CERTIFICATE_PASSWORD }} –asplaintext –force
$secure_password = ConvertTo-SecureString ${{ secrets.SIGN_CERTIFICATE_PASSWORD }} –asplaintext –force
Import-PfxCertificate -FilePath GitHubActionsWorkflow.pfx -Password $secure_password -CertStoreLocation Cert:\CurrentUser\My
nuget sign -Timestamper http://timestamp.digicert.com -CertificateFingerprint ${{ secrets.SIGN_CERTIFICATE_HASH }} **/*.nupkg
Expand Down

0 comments on commit 584c9a9

Please sign in to comment.