From a6747b12f0f4fb2db9ff36fbf5d09b4ba80d8aac Mon Sep 17 00:00:00 2001 From: Amit Haridas Date: Thu, 23 Apr 2026 23:16:20 +0530 Subject: [PATCH] fix: pass --publish=never to electron-builder in CI electron-builder detects git tags in CI and tries to auto-publish to GitHub, failing with 'GH_TOKEN not set'. We handle the release separately via softprops/action-gh-release, so suppress auto-publish. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4e6104a..15ba5e1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,7 +29,7 @@ jobs: run: npm test - name: Build Linux packages - run: npm run build:linux-ci + run: npm run build:linux-ci -- --publish=never - name: Upload Linux artifacts uses: actions/upload-artifact@v4 @@ -77,13 +77,13 @@ jobs: env: CSC_LINK: code-signing-cert.pfx CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }} - run: npm run build:win-signed + run: npm run build:win-signed -- --publish=never - name: Build Windows packages (unsigned) if: ${{ env.CERT_AVAILABLE != 'true' }} env: CSC_IDENTITY_AUTO_DISCOVERY: 'false' - run: npm run build:win-unsigned + run: npm run build:win-unsigned -- --publish=never - name: Upload Windows artifacts uses: actions/upload-artifact@v4