Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download NDK versions instead of using shipped ones by the runner #7327

Merged
merged 3 commits into from May 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/build-publish.yml
Expand Up @@ -208,9 +208,15 @@ jobs:
- name: Setup Gradle
uses: gradle/gradle-build-action@v2

- name: Download NDK
run: |
wget https://dl.google.com/android/repository/android-ndk-r25c-linux.zip -O android-ndk.zip
echo "769ee342ea75f80619d985c2da990c48b3d8eaf45f48783a2d48870d04b46108 android-ndk.zip" | sha256sum --check
unzip android-ndk.zip
echo "NDK_HOME=$(pwd)/android-ndk-r25c" >> $GITHUB_ENV
- name: Build Android natives
run: |
export NDK_HOME=$ANDROID_NDK_HOME
./gradlew jniGen jnigenBuildAndroid
- name: Pack artifacts
Expand Down