mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-12-19 03:37:46 +00:00
[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"
|
name: "Publish build data to meta-repo"
|
||||||
if: >-
|
if: >-
|
||||||
${{
|
${{
|
||||||
(github.event.pull_request.head.repo.full_name == github.repository) &&
|
github.event_name == 'push' &&
|
||||||
(
|
github.repository == 'signalwire/freeswitch' &&
|
||||||
(
|
contains(fromJSON('["master", "v1.10"]'), github.ref_name)
|
||||||
github.event_name != 'pull_request' &&
|
|
||||||
github.event_name != 'workflow_dispatch'
|
|
||||||
) ||
|
|
||||||
(github.event_name == 'workflow_dispatch' && inputs.publish)
|
|
||||||
)
|
|
||||||
}}
|
}}
|
||||||
needs:
|
needs:
|
||||||
- deb-public
|
- deb-public
|
||||||
|
|||||||
Reference in New Issue
Block a user