Skip to content

Commit 4e7127a

Browse files
ci(audience): align mobile-build triggers with playmode (SDK-329)
- Replaces mobile-build's short-form `if` with explicit enumeration of pull_request (non-fork), schedule, and workflow_dispatch. - Removes reliance on `null == false` coercing to true; on schedule events the previous form already fired the job, but only by accident of how GitHub Actions normalises null to 0. - Brings mobile-build's trigger envelope in line with the playmode job, so the weekly cron exercises the full mobile build matrix the same way it exercises the full playmode matrix. - mobile-build matrix and steps unchanged. Linear: https://linear.app/imtbl/issue/SDK-329 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 9f9970b commit 4e7127a

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/test-audience-sample-app.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,10 @@ jobs:
470470
# Note: Unity 6 cells use 6000.4.5f1 (the latest patch with a GameCI image);
471471
# 6000.4.0f1 does not have a published GameCI Docker image.
472472
mobile-build:
473-
if: github.event.pull_request.head.repo.fork == false || github.event_name == 'workflow_dispatch'
473+
if: |
474+
(github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork == false)
475+
|| github.event_name == 'schedule'
476+
|| github.event_name == 'workflow_dispatch'
474477
name: ${{ matrix.target }} / IL2CPP / Unity ${{ matrix.unity }}
475478
runs-on: ubuntu-latest-8-cores
476479
strategy:

0 commit comments

Comments
 (0)