Skip to content

Commit 04d4df5

Browse files
committed
chore(build): update Java version to 17 in GitHub Actions
1 parent e20e1be commit 04d4df5

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/build.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ env:
88

99
jobs:
1010
android:
11-
runs-on: macos-latest
11+
runs-on: ubuntu-latest
1212

1313
strategy:
1414
fail-fast: true
1515
matrix:
1616
api-level:
17-
- 29
17+
- 33
1818

1919
steps:
2020
- uses: actions/checkout@v3
@@ -25,7 +25,7 @@ jobs:
2525
- uses: actions/setup-java@v3
2626
with:
2727
distribution: 'zulu'
28-
java-version: 11
28+
java-version: 17
2929

3030
- name: Gradle cache
3131
uses: gradle/gradle-build-action@v2
@@ -34,9 +34,10 @@ jobs:
3434
if: steps.avd-cache.outputs.cache-hit != 'true'
3535
uses: reactivecircus/android-emulator-runner@v2
3636
with:
37+
arch: x86_64
3738
api-level: ${{ matrix.api-level }}
3839
force-avd-creation: false
39-
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
40+
emulator-options: -no-window -noaudio -no-boot-anim -camera-back none -feature -Vulkan
4041
disable-animations: false
4142
script: echo "Generated AVD snapshot for caching."
4243

0 commit comments

Comments
 (0)