fix: v1.27.1 — CI signing pipeline, sig naming, npm+cargo caching

This commit is contained in:
Psychotoxical
2026-04-02 03:07:19 +02:00
parent e9fa541933
commit 2fe35e3f9b
5 changed files with 17 additions and 4 deletions
+5 -1
View File
@@ -134,14 +134,18 @@ jobs:
if [[ "${{ matrix.settings.platform }}" == "macos-latest" ]]; then
if [[ "${{ matrix.settings.args }}" == *"aarch64"* ]]; then
BUNDLE="src-tauri/target/aarch64-apple-darwin/release/bundle/macos/Psysonic.app.tar.gz"
SIG_NAME="Psysonic_aarch64.app.tar.gz.sig"
else
BUNDLE="src-tauri/target/x86_64-apple-darwin/release/bundle/macos/Psysonic.app.tar.gz"
SIG_NAME="Psysonic_x64.app.tar.gz.sig"
fi
else
BUNDLE=$(find src-tauri/target/release/bundle/nsis -name "*.nsis.zip" | head -1)
SIG_NAME="Psysonic_${VERSION}_x64-setup.nsis.zip.sig"
fi
npx tauri signer sign --private-key "$TAURI_SIGNING_PRIVATE_KEY" --password "$TAURI_SIGNING_PRIVATE_KEY_PASSWORD" "$BUNDLE"
gh release upload "app-v${VERSION}" "${BUNDLE}.sig" --clobber
cp "${BUNDLE}.sig" "$SIG_NAME"
gh release upload "app-v${VERSION}" "$SIG_NAME" --clobber
build-linux:
needs: create-release