Преглед изворни кода

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

CaIon пре 5 месеци
родитељ
комит
8a56795bd8
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3 1
      .github/workflows/electron-build.yml

+ 3 - 1
.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 }}