Skip to content

Commit 2c255d8

Browse files
committed
fix: generate tauri signing key for smoke builds
1 parent 55cd121 commit 2c255d8

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/actions/setup-tauri/action.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,16 @@ runs:
7878
$normalized >> $env:GITHUB_ENV
7979
"EOF" >> $env:GITHUB_ENV
8080
81+
- name: Generate ephemeral Tauri signing key
82+
if: ${{ inputs.signing-private-key == '' }}
83+
shell: bash
84+
run: |
85+
set -euo pipefail
86+
87+
key_path="${RUNNER_TEMP}/tauri-ci.key"
88+
pnpm -C gui tauri signer generate --ci --force -w "$key_path"
89+
echo "TAURI_SIGNING_PRIVATE_KEY_PATH=$key_path" >> "$GITHUB_ENV"
90+
8191
- name: Get Cargo deps hash (exclude root package version for stable cache key)
8292
id: cargo-deps-hash
8393
shell: bash

0 commit comments

Comments
 (0)