Fix file path escapes #18
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: [ test-signing ] | |
jobs: | |
build-and-sign: | |
runs-on: windows-latest | |
name: Build app and sign files with Trusted Signing | |
strategy: | |
matrix: | |
include: | |
- platform: 'windows-latest' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- name: Npm install | |
run: npm ci | |
- name: Vendor things | |
run: npm run bootstrap | |
- name: install Rust stable | |
uses: dtolnay/rust-toolchain@stable | |
- name: Install trusted signing CLI | |
run: cargo install trusted-signing-cli | |
- name: Sign files | |
shell: bash | |
run: trusted-signing-cli -e "${{ secrets.AZURE_ENDPOINT }}" -a "${{ secrets.AZURE_CODE_SIGNING_NAME }}" -c "${{ secrets.AZURE_CERT_PROFILE_NAME }}" src-tauri\\vendored\\protoc\\yaakprotoc-x86_64-pc-windows-msvc.exe | |
env: | |
AZURE_CLIENT_ID: ${{ matrix.platform == 'windows-latest' && secrets.AZURE_CLIENT_ID }} | |
AZURE_CLIENT_SECRET: ${{ matrix.platform == 'windows-latest' && secrets.AZURE_CLIENT_SECRET }} | |
AZURE_TENANT_ID: ${{ matrix.platform == 'windows-latest' && secrets.AZURE_TENANT_ID }} | |
# - name: Sign files with Trusted Signing | |
# uses: azure/[email protected] | |
# with: | |
# azure-tenant-id: ${{ secrets.AZURE_TENANT_ID }} | |
# azure-client-id: ${{ secrets.AZURE_CLIENT_ID }} | |
# azure-client-secret: ${{ secrets.AZURE_CLIENT_SECRET }} | |
# endpoint: ${{ secrets.AZURE_ENDPOINT }} | |
# trusted-signing-account-name: ${{ secrets.AZURE_CODE_SIGNING_NAME }} | |
# certificate-profile-name: ${{ secrets.AZURE_CERT_PROFILE_NAME }} | |
# files-folder: ${{ github.workspace }} | |
# files-folder-filter: exe | |
# file-digest: SHA256 | |
# timestamp-rfc3161: http://timestamp.acs.microsoft.com | |
# timestamp-digest: SHA256 |