Skip to content

Commit 6885e29

Browse files
committed
up
1 parent a5d0a3b commit 6885e29

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/release.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,17 @@ jobs:
152152
run: |
153153
rustup target add "${{ matrix.gui_target }}"
154154
155+
- name: Install Azure Trusted Signing CLI (Windows)
156+
if: startsWith(matrix.platform, 'windows')
157+
shell: pwsh
158+
run: |
159+
Invoke-WebRequest -Uri "https://www.nuget.org/api/v2/package/Microsoft.Trusted.Signing.Client" -OutFile "trustedsigning.zip"
160+
Expand-Archive -Path "trustedsigning.zip" -DestinationPath "trustedsigning"
161+
$cliPath = Join-Path $PWD "trustedsigning\bin\x64"
162+
echo "$cliPath" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
163+
echo "Installed trusted-signing-cli to: $cliPath"
164+
Get-ChildItem $cliPath
165+
155166
- name: Build GUI
156167
uses: tauri-apps/tauri-action@v0
157168
env:
@@ -164,6 +175,11 @@ jobs:
164175
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
165176
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
166177
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
178+
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
179+
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
180+
AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}
181+
AZURE_TRUSTED_SIGNING_ACCOUNT_NAME: ${{ secrets.AZURE_TRUSTED_SIGNING_ACCOUNT_NAME }}
182+
AZURE_CERTIFICATE_PROFILE_NAME: ${{ secrets.AZURE_CERTIFICATE_PROFILE_NAME }}
167183
with:
168184
args: --target ${{ matrix.gui_target }}
169185
tagName: ${{ needs.ensure-release.outputs.release-name }}

0 commit comments

Comments
 (0)