Skip to content

Commit ef6d789

Browse files
authored
chore: Skipping Android on Unity 2022 in CI (#1978)
1 parent 3f0d108 commit ef6d789

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/ci.yml

+10-2
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ jobs:
446446
fail-fast: false
447447
matrix:
448448
api-level: [30, 31, 34] # last updated January 2025
449-
unity-version: ["2019", "2022", "6000"]
449+
unity-version: ["2019", "6000"]
450450

451451
mobile-smoke-test-compile:
452452
if: ${{ !startsWith(github.ref, 'refs/heads/release/') }}
@@ -507,7 +507,12 @@ jobs:
507507
508508
- name: Android smoke test
509509
if: ${{ matrix.platform == 'Android' }}
510-
run: ./scripts/smoke-test-android.ps1 Build -IsIntegrationTest -UnityVersion "${{ matrix.unity-version }}"
510+
# Skipping Android on Unity 2022 for now
511+
run: |
512+
if ("${{ matrix.unity-version }}" -ne "2022")
513+
{
514+
./scripts/smoke-test-android.ps1 Build -IsIntegrationTest -UnityVersion "${{ matrix.unity-version }}"
515+
}
511516
timeout-minutes: 10
512517
env:
513518
JAVA_HOME: ${{ env.JAVA_HOME }}
@@ -530,6 +535,9 @@ jobs:
530535

531536
- name: Upload app
532537
uses: actions/upload-artifact@v4
538+
# Skipping Android on Unity 2022 for now
539+
if: |
540+
!(matrix.platform == 'Android' && matrix.unity-version == '2022') || matrix.platform == 'iOS'
533541
with:
534542
name: testapp-${{ matrix.platform }}-compiled-${{ matrix.unity-version }}
535543
# Collect app but ignore the files that are not required for the test.

0 commit comments

Comments
 (0)