File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -311,8 +311,12 @@ jobs:
311311 sudo mv minisign-linux/x86_64/minisign /usr/local/bin/
312312 minisign -v
313313
314- # Write private key to temp file
315- echo "$TAURI_PRIVATE_KEY" > /tmp/tauri_private.key
314+ # Decode base64-encoded private key
315+ echo "$TAURI_PRIVATE_KEY" | base64 -d > /tmp/tauri_private.key
316+
317+ # Debug: show key file info (not contents)
318+ echo "Key file size: $(wc -c < /tmp/tauri_private.key) bytes"
319+ echo "Key file lines: $(wc -l < /tmp/tauri_private.key)"
316320
317321 # Sign the AppImage
318322 APPIMAGE_PATH="./src-electron/dist/${{ env.OUTPUT_FILENAME }}"
Original file line number Diff line number Diff line change @@ -360,8 +360,12 @@ jobs:
360360 sudo mv minisign-linux/x86_64/minisign /usr/local/bin/
361361 minisign -v
362362
363- # Write private key to temp file
364- echo "$TAURI_PRIVATE_KEY" > /tmp/tauri_private.key
363+ # Decode base64-encoded private key
364+ echo "$TAURI_PRIVATE_KEY" | base64 -d > /tmp/tauri_private.key
365+
366+ # Debug: show key file info (not contents)
367+ echo "Key file size: $(wc -c < /tmp/tauri_private.key) bytes"
368+ echo "Key file lines: $(wc -l < /tmp/tauri_private.key)"
365369
366370 # Sign the AppImage
367371 APPIMAGE_PATH="./src-electron/dist/${{ env.OUTPUT_FILENAME }}"
Original file line number Diff line number Diff line change @@ -311,8 +311,12 @@ jobs:
311311 sudo mv minisign-linux/x86_64/minisign /usr/local/bin/
312312 minisign -v
313313
314- # Write private key to temp file
315- echo "$TAURI_PRIVATE_KEY" > /tmp/tauri_private.key
314+ # Decode base64-encoded private key
315+ echo "$TAURI_PRIVATE_KEY" | base64 -d > /tmp/tauri_private.key
316+
317+ # Debug: show key file info (not contents)
318+ echo "Key file size: $(wc -c < /tmp/tauri_private.key) bytes"
319+ echo "Key file lines: $(wc -l < /tmp/tauri_private.key)"
316320
317321 # Sign the AppImage
318322 APPIMAGE_PATH="./src-electron/dist/${{ env.OUTPUT_FILENAME }}"
You can’t perform that action at this time.
0 commit comments