mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-05-31 10:57:17 +00:00
ci: fix logic, only draft for branch build
This commit is contained in:
parent
2dc3961ae8
commit
1fdb575c7e
2
.github/workflows/electron.yml
vendored
2
.github/workflows/electron.yml
vendored
@ -83,7 +83,7 @@ jobs:
|
||||
- name: Create Release
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
draft: ${{ github.ref_type == 'branch' }}
|
||||
draft: ${{ github.event_name != 'workflow_dispatch' && github.ref_type == 'branch' }}
|
||||
name: ${{ github.ref_type == 'tag' && format('Release {0}', github.ref_name) || 'Electron Release' }}
|
||||
files: |
|
||||
dist/*.exe
|
||||
|
Loading…
Reference in New Issue
Block a user