Skip to content

Commit

Permalink
ci: remove java 8 due to sdk unavailability
Browse files Browse the repository at this point in the history
Should be a temporary change if compatibility with java 8 restored
  • Loading branch information
ttytm committed Mar 28, 2024
1 parent f129610 commit 5493ce9
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -342,10 +342,10 @@ jobs:
VAB_FLAGS: -cg -v 3 --api 30 --build-tools 30.0.3
steps:

#- uses: actions/setup-java@v2
#with:
#distribution: 'adopt'
#java-version: 15
- uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: 11

- name: Install V
uses: vlang/setup-v@v1
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/ci_emulator_run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: 8
java-version: 11

- name: Install V
uses: vlang/setup-v@v1
Expand Down Expand Up @@ -69,12 +69,12 @@ jobs:
/Users/runner/Library/Android/sdk/system-images/android-30
key: ${{ runner.os }}-android-emulator-${{ hashFiles('/Users/runner/.android/avd') }}

- name: Prepare emulator
if: steps.cache-emulator.outputs.cache-hit != 'true'
run: |
export ANDROID_SDK_ROOT="$HOME/Library/Android/sdk"
echo yes | $ANDROID_SDK_ROOT/tools/bin/sdkmanager 'system-images;android-30;google_apis;x86_64'
echo no | $ANDROID_SDK_ROOT/tools/bin/avdmanager create avd --force --name test --abi google_apis/x86_64 --package 'system-images;android-30;google_apis;x86_64'
# - name: Prepare emulator
# if: steps.cache-emulator.outputs.cache-hit != 'true'
# run: |
# export ANDROID_SDK_ROOT="$HOME/Library/Android/sdk"
# echo yes | $ANDROID_SDK_ROOT/tools/bin/sdkmanager 'system-images;android-30;google_apis;x86_64'
# echo no | $ANDROID_SDK_ROOT/tools/bin/avdmanager create avd --force --name test --abi google_apis/x86_64 --package 'system-images;android-30;google_apis;x86_64'

- name: Install and run V + V UI examples as APK and AAB
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/matrix_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-20.04]
java-version: [8,11,15,20]
java-version: [11, 15, 20]
android-api: [27, 30]
fail-fast: false
timeout-minutes: 20
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-20.04]
java-version: [8, 15, 20]
java-version: [15, 20]
android-api: [27, 30]
timeout-minutes: 20
env:
Expand Down

0 comments on commit 5493ce9

Please sign in to comment.