mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-03-30 10:12:30 +00:00
chore: update electron-build.yml to add write permissions and enable file overwriting in artifact uploads
This commit is contained in:
4
.github/workflows/electron-build.yml
vendored
4
.github/workflows/electron-build.yml
vendored
@@ -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 }}
|
||||
Reference in New Issue
Block a user