Skip to content

Commit 3fda2f0

Browse files
committed
Update build-android.yml
1 parent 6a0f2de commit 3fda2f0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/build-android.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,19 +35,19 @@ jobs:
3535
- name: Create build directory
3636
run: mkdir -p ./build
3737

38-
- name: Build mobile package
39-
run: |
40-
gomobile bind -v -o ./build/mobile.aar -target=android -ldflags="-checklinkname=0" -androidapi 26 ./mobile
41-
42-
- name: Set up JDK 11
38+
- name: Set up JDK 17
4339
uses: actions/setup-java@v4
4440
with:
45-
java-version: '11'
41+
java-version: '17'
4642
distribution: 'temurin'
4743

4844
- name: Set up Android SDK
4945
uses: android-actions/setup-android@v3
5046

47+
- name: Build mobile package
48+
run: |
49+
gomobile bind -v -o ./build/mobile.aar -target=android -ldflags="-checklinkname=0" -androidapi 26 ./mobile
50+
5151
- name: Get Release Info
5252
id: get-release-info
5353
uses: actions/github-script@v7

0 commit comments

Comments
 (0)