From 37d72c3869008ee9753b71db2abc7cdd711c183b Mon Sep 17 00:00:00 2001 From: Nguyen Ngoc Minh <91668012+Minh141120@users.noreply.github.com> Date: Thu, 12 Jun 2025 14:50:24 +0700 Subject: [PATCH] ci: add manual sign for appimage artifact (#5254) --- .github/workflows/template-tauri-build-linux-x64.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/template-tauri-build-linux-x64.yml b/.github/workflows/template-tauri-build-linux-x64.yml index a5a676afa..6c47c79f2 100644 --- a/.github/workflows/template-tauri-build-linux-x64.yml +++ b/.github/workflows/template-tauri-build-linux-x64.yml @@ -162,6 +162,10 @@ jobs: echo $APP_IMAGE rm -f $APP_IMAGE ./appimagetool ./src-tauri/target/release/bundle/appimage/Jan-${{ inputs.channel }}.AppDir $APP_IMAGE + yarn tauri signer sign \ + --private-key "$TAURI_SIGNING_PRIVATE_KEY" \ + --password "$TAURI_SIGNING_PRIVATE_KEY_PASSWORD" \ + "$APP_IMAGE" else cp ./src-tauri/resources/bin/bun ./src-tauri/target/release/bundle/appimage/Jan.AppDir/usr/bin/bun mkdir -p ./src-tauri/target/release/bundle/appimage/Jan.AppDir/usr/lib/Jan/binaries/engines @@ -172,6 +176,10 @@ jobs: echo $APP_IMAGE rm -f $APP_IMAGE ./appimagetool ./src-tauri/target/release/bundle/appimage/Jan.AppDir $APP_IMAGE + yarn tauri signer sign \ + --private-key "$TAURI_SIGNING_PRIVATE_KEY" \ + --password "$TAURI_SIGNING_PRIVATE_KEY_PASSWORD" \ + "$APP_IMAGE" fi env: