Skip to content

Commit 8a56795

Browse files
committed
chore: update electron-build.yml to add write permissions and enable file overwriting in artifact uploads
1 parent 1154077 commit 8a56795

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/electron-build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ jobs:
131131
needs: build
132132
runs-on: ubuntu-latest
133133
if: startsWith(github.ref, 'refs/tags/')
134+
permissions:
135+
contents: write
134136

135137
steps:
136138
- name: Download all artifacts
@@ -140,9 +142,9 @@ jobs:
140142
uses: softprops/action-gh-release@v2
141143
with:
142144
files: |
143-
# macos-build/*
144145
windows-build/*
145146
draft: false
146147
prerelease: false
148+
overwrite_files: true
147149
env:
148150
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)