Prevents publishing during macOS and Windows builds

Sets the environment variable to disable publishing artifacts
when building for macOS and Windows. Ensures builds do not
accidentally trigger publish actions in CI environments.
This commit is contained in:
bincxz committed 2025-12-30 02:20:57 +08:00
1 parent dd31e2d1f9
commit 15deca7bea
1 file changed
+3
+3
View File
@@ -38,10 +38,13 @@ jobs:
if: matrix.os == 'macos-latest'
env:
CSC_IDENTITY_AUTO_DISCOVERY: "false"
ELECTRON_BUILDER_PUBLISH: "never"
run: npm run pack:mac
- name: Build package (Windows)
if: matrix.os == 'windows-latest'
env:
ELECTRON_BUILDER_PUBLISH: "never"
run: npm run pack:win
- name: Upload artifacts