Commit 3c94d149 by CaIon

chore: update electron-build.yml to add write permissions and enable file…

chore: update electron-build.yml to add write permissions and enable file overwriting in artifact uploads
parent f46d6972
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment