mirror of
https://github.com/CarlGao4/um-react-electron.git
synced 2024-11-23 20:52: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"
|
- "main"
|
||||||
paths:
|
paths:
|
||||||
- "um-react"
|
- "um-react"
|
||||||
- ".github/workflows/build-electron.yml"
|
workflow_call:
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
@ -116,7 +116,7 @@ jobs:
|
|||||||
upload-release:
|
upload-release:
|
||||||
name: Upload Release
|
name: Upload Release
|
||||||
runs-on: ubuntu-latest
|
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]
|
needs: [build-linux-windows, build-macos]
|
||||||
steps:
|
steps:
|
||||||
- name: Download release files
|
- name: Download release files
|
||||||
|
Loading…
Reference in New Issue
Block a user