Enable call from another workflow

This commit is contained in:
Weiqi Gao 2023-12-29 09:15:07 +08:00 committed by GitHub
parent d2824df2b9
commit 3977aa4559
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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