From 8a56795bd88cc8abef9d42f55f60423d31614003 Mon Sep 17 00:00:00 2001 From: CaIon Date: Sun, 5 Oct 2025 17:50:35 +0800 Subject: [PATCH] chore: update electron-build.yml to add write permissions and enable file overwriting in artifact uploads --- .github/workflows/electron-build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/electron-build.yml b/.github/workflows/electron-build.yml index 2de544538..9e53ff76d 100644 --- a/.github/workflows/electron-build.yml +++ b/.github/workflows/electron-build.yml @@ -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 }} \ No newline at end of file