Skip to content

Commit 99d76e0

Browse files
authored
ci: sync workflow with paramedic (#336)
1 parent dbd4bcd commit 99d76e0

File tree

1 file changed

+12
-22
lines changed

1 file changed

+12
-22
lines changed

.github/workflows/android.yml

Lines changed: 12 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
test:
3434
name: Android ${{ matrix.versions.android }} Test
3535
runs-on: macos-latest
36+
continue-on-error: true
3637

3738
# hoist configurations to top that are expected to be updated
3839
env:
@@ -55,39 +56,28 @@ jobs:
5556
strategy:
5657
matrix:
5758
versions:
59+
# Test the lowest minimum supported APIs
5860
- android: 5.1
5961
android-api: 22
6062

61-
- android: 6
62-
android-api: 23
63-
64-
- android: 7
65-
android-api: 24
66-
67-
- android: 7.1
68-
android-api: 25
69-
70-
- android: 8
71-
android-api: 26
72-
73-
- android: 8.1
74-
android-api: 27
75-
system-image-target: default
76-
77-
- android: 9
78-
android-api: 28
79-
63+
# Test the last 3-4 supported APIs
8064
- android: 10
8165
android-api: 29
8266

8367
- android: 11
8468
android-api: 30
8569

70+
- android: 12
71+
android-api: 31
72+
73+
- android: 12L
74+
android-api: 32
75+
8676
timeout-minutes: 60
8777

8878
steps:
89-
- uses: actions/checkout@v2
90-
- uses: actions/setup-node@v2
79+
- uses: actions/checkout@v3
80+
- uses: actions/setup-node@v3
9181
with:
9282
node-version: ${{ env.node-version }}
9383
- uses: actions/setup-java@v3
@@ -112,7 +102,7 @@ jobs:
112102
npm ci
113103
114104
- name: Run paramedic install
115-
if: ${{ endswith(env.repo, '/cordova-paramedic') != true }}
105+
if: ${{ endswith(env.repo, '/cordova-paramedic') != true }}
116106
run: npm i -g github:apache/cordova-paramedic
117107

118108
- uses: reactivecircus/android-emulator-runner@5de26e4bd23bf523e8a4b7f077df8bfb8e52b50e

0 commit comments

Comments
 (0)