Update build-electron.yml to commit on workflow_call

This commit is contained in:
Weiqi Gao 2024-12-19 09:37:34 +08:00 committed by GitHub
parent b2b17dce28
commit fe117d22d0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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