Skip to content

Commit

Permalink
Merge pull request #907 from Chia-Network/update-windows-signing
Browse files Browse the repository at this point in the history
  • Loading branch information
cmmarslender authored Aug 15, 2023
2 parents 6e497e6 + 1e5b6b8 commit 2972b1e
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,19 +79,14 @@ jobs:
run: cp ${{ matrix.sqlite-path }}node_sqlite3.node ./dist/

# Windows Code Signing
- name: Decode code signing cert into an encrypted file
if: matrix.runs-on == 'windows-2019'
uses: kitek/[email protected]
with:
encoded-value: ${{ secrets.WIN_CODE_SIGN_CERT }}
destination-file: .\win_code_sign_cert.pfx

- name: Sign windows artifacts
if: matrix.runs-on == 'windows-2019'
uses: chia-network/actions/sign/windows@main
uses: chia-network/actions/digicert/windows-sign@main
with:
certificate_path: .\win_code_sign_cert.pfx
certificate_password: ${{ secrets.WIN_CODE_SIGN_PASSWORD }}
sm_api_key: ${{ secrets.SM_API_KEY }}
sm_client_cert_file_b64: ${{ secrets.SM_CLIENT_CERT_FILE_B64 }}
sm_client_cert_password: ${{ secrets.SM_CLIENT_CERT_PASSWORD }}
sm_code_signing_cert_sha1_hash: ${{ secrets.SM_CODE_SIGNING_CERT_SHA1_HASH }}
file: ${{ github.workspace }}/dist/cadt.exe

# Mac .pkg build + sign
Expand Down

0 comments on commit 2972b1e

Please sign in to comment.