We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d99429 commit 1f97dbdCopy full SHA for 1f97dbd
1 file changed
.github/workflows/release.yml
@@ -83,6 +83,13 @@ jobs:
83
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
84
run: |
85
cd frontend
86
+ # Decode the Base64 private key to a file to avoid newline issues
87
+ $keyContent = [System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String($env:TAURI_SIGNING_PRIVATE_KEY))
88
+ $keyContent | Out-File -FilePath "tauri.key" -Encoding utf8 -NoNewline
89
+
90
+ # Set the environment variable to the content of the file (or path if Tauri supports it, but content is safer)
91
+ $env:TAURI_SIGNING_PRIVATE_KEY = Get-Content "tauri.key" -Raw
92
93
npm run tauri build
94
95
# Debug: List all files in bundle directory to see if .sig files were created
0 commit comments