Skip to content

More tweaks, signing before build of studio. #10

More tweaks, signing before build of studio.

More tweaks, signing before build of studio. #10

Workflow file for this run

name: "az-debugging"
on:
workflow_dispatch:
push:
release:
types: [published]
jobs:
publish-tauri:
permissions:
contents: write
runs-on: windows-2022
steps:
- name: install dependencies (windows only)
run: |
nuget.exe install Microsoft.Trusted.Signing.Client -Version 1.0.53 -x
- name: Set up Windows Kit into PATH (windows only)
run: |
echo "${env:ProgramFiles(x86)}\Windows Kits\10\bin\10.0.22621.0\x64\" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- uses: azure/login@v2
if: "!cancelled()"
with:
enable-AzPSSession: true
creds: '{"clientId":"${{ secrets.AZURE_CLIENT_ID }}","clientSecret":"${{ secrets.AZURE_CLIENT_SECRET }}","subscriptionId":"${{ secrets.AZURE_SUBSCRIPTION_ID }}","tenantId":"${{ secrets.AZURE_TENANT_ID }}"}'
- name: Test manually signing (windows only)
if: "!cancelled()"
run: |
signtool.exe sign /v /debug /fd SHA256 /tr http://timestamp.acs.microsoft.com /td SHA256 /dlib Microsoft.Trusted.Signing.Client\\bin\\x64\\Azure.CodeSigning.Dlib.dll /dmdf trusted-signing-metadata.json src-tauri/target\release\zmk-studio.exe
- name: Azure CLI script
if: "!cancelled()"
run: |
az trustedsigning certificate-profile list -g ZMKStudio --account-name ZMKStudio