mirror of
https://github.com/CarlGao4/um-react-electron.git
synced 2024-12-30 02:02:58 +00:00
Update build-electron.yml to commit on workflow_call
This commit is contained in:
parent
b2b17dce28
commit
fe117d22d0
5
.github/workflows/build-electron.yml
vendored
5
.github/workflows/build-electron.yml
vendored
@ -18,6 +18,9 @@ on:
|
||||
commit:
|
||||
type: string
|
||||
default: main
|
||||
release:
|
||||
type: boolean
|
||||
default: false
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
@ -135,6 +138,6 @@ jobs:
|
||||
file: ${{ needs.build-linux-windows.outputs.version }}/*
|
||||
tag: ${{ needs.build-linux-windows.outputs.version }}
|
||||
body: Release ${{ needs.build-linux-windows.outputs.version }}
|
||||
target_commit: ${{ github.event_name == 'repository_dispatch' && inputs.commit || github.sha }}
|
||||
target_commit: ${{ inputs.commit || github.sha }}
|
||||
overwrite: true
|
||||
file_glob: true
|
||||
|
Loading…
Reference in New Issue
Block a user