From 06d620db83a82431e524c9f75806c665fdecd79b Mon Sep 17 00:00:00 2001 From: Huang Xin Date: Tue, 20 Jan 2026 19:33:41 +0100 Subject: [PATCH] chore: fixed signing of the portable version for Windows (#3007) --- .github/workflows/release.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e0ca18c6..5ef991fd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -321,6 +321,8 @@ jobs: if: matrix.config.os == 'windows-latest' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + TAURI_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }} + TAURI_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }} TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }} TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }} shell: bash @@ -354,7 +356,9 @@ jobs: gh release upload ${{ needs.get-release.outputs.release_tag }} $bin_file --clobber echo "Signing portable binary" - pnpm tauri signer sign $bin_file + pushd apps/readest-app/ + pnpm tauri signer sign "../../$bin_file" + popd echo "Uploading signature to GitHub release" gh release upload ${{ needs.get-release.outputs.release_tag }} $bin_file.sig --clobber