[GHA] Simplify if logic for Meta job

This commit is contained in:
s3rj1k 2025-07-22 21:14:52 +02:00
parent fcab28abf6
commit b8fb017b41
No known key found for this signature in database

View File

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