Skip to content

Commit c101d90

Browse files
committed
Fix release workflow permissions - disable electron-builder auto-publish
1 parent f43a1e8 commit c101d90

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,21 +37,15 @@ jobs:
3737

3838
- name: Package for macOS
3939
if: matrix.platform == 'mac'
40-
run: npx electron-builder --mac
41-
env:
42-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40+
run: npx electron-builder --mac --publish never
4341

4442
- name: Package for Linux
4543
if: matrix.platform == 'linux'
46-
run: npx electron-builder --linux
47-
env:
48-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
44+
run: npx electron-builder --linux --publish never
4945

5046
- name: Package for Windows
5147
if: matrix.platform == 'win'
52-
run: npx electron-builder --win
53-
env:
54-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
48+
run: npx electron-builder --win --publish never
5549

5650
- name: Upload artifacts
5751
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)