mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-16 12:01:13 +00:00
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:
1 parent
dd31e2d1f9
commit
15deca7bea
1 file changed
+3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user