Skip to content

Commit

Permalink
ci: specify ndk version rather than using latest
Browse files Browse the repository at this point in the history
  • Loading branch information
Oppzippy committed Nov 7, 2024
1 parent 3dd88f5 commit c7e3d91
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,9 @@ jobs:
build_android:
runs-on: ubuntu-latest
steps:
- name: Set ANDROID_NDK_HOME to latest NDK version
- name: Set ANDROID_NDK_HOME to version specified in build.gradle.kts
run: |
echo "ANDROID_NDK_HOME=$ANDROID_NDK_LATEST_HOME" >> "$GITHUB_ENV"
echo "ANDROID_NDK_HOME=$ANDROID_HOME/ndk/$(./android/scripts/get-ndk-version.sh)" >> "$GITHUB_ENV"
- uses: actions/checkout@v4
with:
submodules: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ jobs:
android_test:
runs-on: ubuntu-latest
steps:
- name: Set ANDROID_NDK_HOME to latest NDK version
- name: Set ANDROID_NDK_HOME to version specified in build.gradle.kts
run: |
echo "ANDROID_NDK_HOME=$ANDROID_NDK_LATEST_HOME" >> "$GITHUB_ENV"
echo "ANDROID_NDK_HOME=$ANDROID_HOME/ndk/$(./android/scripts/get-ndk-version.sh)" >> "$GITHUB_ENV"
- uses: actions/checkout@v4
with:
submodules: true
Expand Down

0 comments on commit c7e3d91

Please sign in to comment.