Skip to content

Commit fc02988

Browse files
committed
Install NDK
1 parent d91af73 commit fc02988

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/check.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,15 @@ jobs:
3333
- uses: actions/setup-node@v4
3434
with:
3535
node-version: lts/jod
36+
- name: Set up JDK 17
37+
uses: actions/setup-java@v3
38+
with:
39+
java-version: "17"
40+
distribution: "temurin"
41+
- name: Setup Android SDK
42+
uses: android-actions/setup-android@v3
43+
# Version here should match the one in React Native template and packages/react-native-node-api-cmake/src/cli.ts
44+
- run: sdkmanager --install "ndk;27.1.12297006"
3645
- run: npm ci
3746
- run: npm run build
3847
- run: npm run build-weak-node-api --workspace react-native-node-api-modules

0 commit comments

Comments
 (0)