mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-05-05 20:54:40 +00:00
Merge pull request #1549 from Derek-X-Wang/ci/electron-action-permissions
ci: give electron action permission
This commit is contained in:
commit
fb55a24341
7
.github/workflows/electron.yml
vendored
7
.github/workflows/electron.yml
vendored
@ -8,13 +8,16 @@ on:
|
|||||||
tags:
|
tags:
|
||||||
- 'v*'
|
- 'v*'
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [macos-latest, ubuntu-latest, windows-latest]
|
os: [ubuntu-latest, windows-latest] # TODO: add back macos-latest when notarize is figured out
|
||||||
node-version: [18.18.0]
|
node-version: [18.18.0]
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
|
||||||
@ -80,7 +83,7 @@ jobs:
|
|||||||
- name: Create Release
|
- name: Create Release
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
draft: ${{ github.ref_type == 'branch' }}
|
draft: ${{ github.event_name == 'workflow_dispatch' || github.ref_type == 'branch' }}
|
||||||
files: |
|
files: |
|
||||||
dist/*.exe
|
dist/*.exe
|
||||||
dist/*.dmg
|
dist/*.dmg
|
||||||
|
Loading…
Reference in New Issue
Block a user