Skip to content

Commit a515d2f

Browse files
committed
Update build.yml
1 parent cc232d7 commit a515d2f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111
build:
1212
name: Build ${{ matrix.target }} - ${{ matrix.arch }}
1313
runs-on: ${{ matrix.os }}
14+
permissions:
15+
contents: read
1416
strategy:
1517
matrix:
1618
include:
@@ -74,7 +76,9 @@ jobs:
7476
PYTHON: python3
7577

7678
- name: Build for production with electron-builder
77-
run: npm run build:${{ matrix.target }}:${{ matrix.arch }}
79+
run: npm run build:${{ matrix.target }}:${{ matrix.arch }} -- --publish never
80+
env:
81+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7882

7983
- name: "Debug: List release-builds directory"
8084
run: |

0 commit comments

Comments
 (0)