We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b888acc commit 43d2d79Copy full SHA for 43d2d79
1 file changed
.github/workflows/release.yml
@@ -49,6 +49,21 @@ jobs:
49
- name: Build libmpv
50
run: ./scripts/build-libmpv.sh macos
51
52
+ - name: Prepare signing key
53
+ run: |
54
+ # Tauri CLI expects the raw minisign format, not base64-encoded.
55
+ # Decode if needed so both secret formats work.
56
+ if echo "$TAURI_SIGNING_PRIVATE_KEY" | base64 -d 2>/dev/null | grep -q "untrusted comment:"; then
57
+ {
58
+ echo "TAURI_SIGNING_PRIVATE_KEY<<__ENDKEY__"
59
+ echo "$TAURI_SIGNING_PRIVATE_KEY" | base64 -d
60
+ echo "__ENDKEY__"
61
+ } >> "$GITHUB_ENV"
62
+ echo "Key was base64-encoded — decoded for build."
63
+ else
64
+ echo "Key is already in raw format."
65
+ fi
66
+
67
- name: Build and publish release
68
uses: tauri-apps/tauri-action@v0
69
env:
0 commit comments