From 4c19dc6c0bdb92a0eb961fcb654622c86912b244 Mon Sep 17 00:00:00 2001 From: DIYgod Date: Sat, 5 Apr 2025 10:13:30 +0800 Subject: [PATCH] chore: sign exe only for release --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 53ebaf040..a23bf978b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -228,7 +228,7 @@ jobs: - uses: signpath/github-action-submit-signing-request@v1.1 continue-on-error: true - if: runner.os == 'windows' && env.PROD == 'true' + if: runner.os == 'windows' && env.RELEASE == 'true' with: api-token: "${{ secrets.SIGNPATH_API_TOKEN }}" organization-id: "8c651516-fdaf-40a1-9fea-001dffde850e" @@ -239,12 +239,12 @@ jobs: output-artifact-directory: "apps/desktop/out/make/" - name: Update latest.yml - if: runner.os == 'windows' && env.PROD == 'true' + if: runner.os == 'windows' && env.RELEASE == 'true' run: npx tsx apps/desktop/scripts/update-windows-yml.ts - name: Upload file (windows-x64-exe signed) uses: actions/upload-artifact@v4 - if: runner.os == 'windows' && env.PROD == 'true' + if: runner.os == 'windows' && env.RELEASE == 'true' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: