Skip to content

Commit 6b691d4

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 d8e56f0 commit 6b691d4

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
@@ -412,7 +412,10 @@ jobs:
412412
# Note: Unity 6 cells use 6000.4.5f1 (the latest patch with a GameCI image);
413413
# 6000.4.0f1 does not have a published GameCI Docker image.
414414
mobile-build:
415-
if: github.event.pull_request.head.repo.fork == false || github.event_name == 'workflow_dispatch'
415+
if: |
416+
(github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork == false)
417+
|| github.event_name == 'schedule'
418+
|| github.event_name == 'workflow_dispatch'
416419
name: ${{ matrix.target }} / IL2CPP / Unity ${{ matrix.unity }}
417420
runs-on: ubuntu-latest-8-cores
418421
strategy:

0 commit comments

Comments
 (0)