Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
Ci release windows fix (#256)
Browse files Browse the repository at this point in the history
* Update release.yml

* add azuresigntool codesign process

* remove azuresigntool installation
  • Loading branch information
DaMandal0rian committed Sep 7, 2023
1 parent 02c85ed commit 05fd041
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,13 +145,8 @@ jobs:
if: runner.os == 'macOS'

- name: Sign Application (Windows)
uses: skymatic/code-sign-action@500ce4f8261ca9bd8f85978c1652b34fb511bdf4 # @v2.0.1
with:
certificate: "${{ secrets.WINDOWS_CERTIFICATE }}"
password: "${{ secrets.WINDOWS_CERTIFICATE_PASSWORD }}"
certificatesha1: "${{ secrets.WINDOWS_CERTIFICATE_SHA }}"
folder: "${{ matrix.build.production_target }}"
# Allow code signing to fail on non-release builds and in non-subspace repos (forks)
run: |
AzureSignTool sign --azure-key-vault-url "${{ secrets.AZURE_KEY_VAULT_URI }}" --azure-key-vault-client-id "${{ secrets.AZURE_CLIENT_ID }}" --azure-key-vault-client-secret "${{ secrets.AZURE_CLIENT_SECRET }}" --azure-key-vault-tenant-id "${{ secrets.AZURE_TENANT_ID }}" --azure-key-vault-certificate "${{ secrets.AZURE_CERT_NAME }}" --file-digest sha512 --timestamp-rfc3161 http://timestamp.digicert.com -v "${{ matrix.build.production_target }}/pulsar.exe"
continue-on-error: ${{ github.repository_owner != 'subspace' || github.event_name != 'push' || github.ref_type != 'tag' }}
if: runner.os == 'Windows'

Expand Down

0 comments on commit 05fd041

Please sign in to comment.