chore: update electron-build.yml to add write permissions and enable file overwriting in artifact uploads

This commit is contained in:
CaIon
2025-10-05 17:50:35 +08:00
parent 1154077eea
commit 8a56795bd8

View File

@@ -131,6 +131,8 @@ jobs:
needs: build
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
permissions:
contents: write
steps:
- name: Download all artifacts
@@ -140,9 +142,9 @@ jobs:
uses: softprops/action-gh-release@v2
with:
files: |
# macos-build/*
windows-build/*
draft: false
prerelease: false
overwrite_files: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}