Skip to content

Commit

Permalink
Update Java and specify version of cmdline tool (#1456)
Browse files Browse the repository at this point in the history
  • Loading branch information
pappz authored Jan 12, 2024
1 parent 8bb16e0 commit ace5887
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/android-build-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,22 @@ jobs:
with:
go-version: "1.21.x"
- name: Setup Android SDK
uses: android-actions/setup-android@v2

uses: android-actions/setup-android@v3
with:
cmdline-tools-version: 8512546
- name: Setup Java
uses: actions/setup-java@v3
with:
java-version: "8"
java-version: "11"
distribution: "adopt"

- name: NDK Cache
id: ndk-cache
uses: actions/cache@v3
with:
path: /usr/local/lib/android/sdk/ndk
key: ndk-cache-23.1.7779620
- name: Setup NDK
run: /usr/local/lib/android/sdk/tools/bin/sdkmanager --install "ndk;23.1.7779620"
run: /usr/local/lib/android/sdk/cmdline-tools/7.0/bin/sdkmanager --install "ndk;23.1.7779620"
- name: install gomobile
run: go install golang.org/x/mobile/cmd/[email protected]
- name: gomobile init
Expand Down

0 comments on commit ace5887

Please sign in to comment.