Skip to content

Commit 5feca5c

Browse files
committed
feat: setup android sdk, ndk and java in workflow
1 parent efadda0 commit 5feca5c

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/build.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,21 @@ jobs:
5858
prerelease: false
5959
args: ${{ matrix.args }}
6060

61+
- name: Setup Java
62+
if: matrix.platform == 'ubuntu-22.04'
63+
uses: actions/setup-java@v4
64+
with:
65+
distribution: 'zulu'
66+
java-version: '17'
67+
68+
- name: Setup Android SDK
69+
if: matrix.platform == 'ubuntu-22.04'
70+
uses: android-actions/setup-android@v3
71+
72+
- name: Install NDK
73+
if: matrix.platform == 'ubuntu-22.04'
74+
run: sdkmanager "ndk;27.0.11902837"
75+
6176
- name: Build for Android
6277
if: matrix.platform == 'ubuntu-22.04'
6378
run: npm run tauri android build

0 commit comments

Comments
 (0)