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

Ci release windows fix #256

Merged
merged 7 commits into from
Sep 7, 2023
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 12 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,14 +144,19 @@ jobs:
continue-on-error: ${{ github.repository_owner != 'subspace' || github.event_name != 'push' || github.ref_type != 'tag' }}
if: runner.os == 'macOS'

- name: Install AzureSignTool (Windows)
DaMandal0rian marked this conversation as resolved.
Show resolved Hide resolved
run: dotnet tool install --global AzureSignTool
if: runner.os == 'Windows'

- 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 -kvu "${{ secrets.AZURE_KEY_VAULT_URI }}" \
-kvi "${{ secrets.AZURE_CLIENT_ID }}" \
-kvt "${{ secrets.AZURE_TENANT_ID }}" \
-kvs "${{ secrets.AZURE_CLIENT_SECRET }}" \
-kvc "${{ secrets.AZURE_CERT_NAME }}" \
-tr 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