mirror of
https://github.com/CarlGao4/um-react-electron.git
synced 2024-11-23 19:42:17 +00:00
Enable call from another workflow
This commit is contained in:
parent
d2824df2b9
commit
3977aa4559
4
.github/workflows/build-electron.yml
vendored
4
.github/workflows/build-electron.yml
vendored
@ -13,7 +13,7 @@ on:
|
||||
- "main"
|
||||
paths:
|
||||
- "um-react"
|
||||
- ".github/workflows/build-electron.yml"
|
||||
workflow_call:
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
@ -116,7 +116,7 @@ jobs:
|
||||
upload-release:
|
||||
name: Upload Release
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ inputs.release || github.event_name == 'push' }}
|
||||
if: ${{ inputs.release || github.event_name == 'push' || github.event_name == 'workflow_call' }}
|
||||
needs: [build-linux-windows, build-macos]
|
||||
steps:
|
||||
- name: Download release files
|
||||
|
Loading…
Reference in New Issue
Block a user