mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-12-19 03:37:46 +00:00
Merge pull request #2867 from signalwire/gha-meta-job
[GHA] Simplify `if` logic for Meta job
This commit is contained in:
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
@@ -192,14 +192,9 @@ jobs:
|
||||
name: "Publish build data to meta-repo"
|
||||
if: >-
|
||||
${{
|
||||
(github.event.pull_request.head.repo.full_name == github.repository) &&
|
||||
(
|
||||
(
|
||||
github.event_name != 'pull_request' &&
|
||||
github.event_name != 'workflow_dispatch'
|
||||
) ||
|
||||
(github.event_name == 'workflow_dispatch' && inputs.publish)
|
||||
)
|
||||
github.event_name == 'push' &&
|
||||
github.repository == 'signalwire/freeswitch' &&
|
||||
contains(fromJSON('["master", "v1.10"]'), github.ref_name)
|
||||
}}
|
||||
needs:
|
||||
- deb-public
|
||||
|
||||
Reference in New Issue
Block a user