Skip to content

Commit

Permalink
ci: Fix github android build
Browse files Browse the repository at this point in the history
The ANDROID_NDK_HOME env var seems to have disappeared with the
deprecation of ndk-bundle:
actions/runner-images#5879
  • Loading branch information
mikes-lunarg committed Jul 28, 2022
1 parent cd379e6 commit e660e32
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,9 @@ jobs:
- name: Setup Environment
run: |
echo "ANDROID_SDK_HOME=$ANDROID_SDK_ROOT" >> $GITHUB_ENV
echo "ANDROID_NDK_HOME=$ANDROID_NDK_LATEST_HOME" >> $GITHUB_ENV
echo "$ANDROID_SDK_ROOT/build-tools/31.0.0" >> $GITHUB_PATH
echo "$ANDROID_NDK_ROOT" >> $GITHUB_PATH
echo "$ANDROID_NDK_LATEST_HOME" >> $GITHUB_PATH
$ANDROID_SDK_ROOT/tools/bin/sdkmanager "platforms;android-23"
keytool -genkey -v -keystore $HOME/.android/debug.keystore -storepass android -alias androiddebugkey -keypass android -keyalg RSA -keysize 2048 -validity 10000 -dname "C=US, O=Android, CN=Android Debug"
- name: Build vkcube
Expand Down

0 comments on commit e660e32

Please sign in to comment.