mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-04 00:00:14 -04:00
github: Don't install the NDK as root
On the Ubuntu 24.04 image, this causes the /home/runner/.config/.android directory to be owned by root, which lets the build fail later.
This commit is contained in:
parent
90dac35927
commit
6f912345c1
2
.github/workflows/android.yml
vendored
2
.github/workflows/android.yml
vendored
@ -36,7 +36,7 @@ jobs:
|
||||
run: |
|
||||
NDK_VERSION=$(grep "ndkVersion" src/frontends/android/app/build.gradle | sed -e 's/.*"\(.*\)"/\1/')
|
||||
echo Using NDK ${NDK_VERSION}
|
||||
yes | sudo ${ANDROID_HOME}/cmdline-tools/latest/bin/sdkmanager --install "ndk;${NDK_VERSION}"
|
||||
yes | ${ANDROID_HOME}/cmdline-tools/latest/bin/sdkmanager --install "ndk;${NDK_VERSION}"
|
||||
echo "ANDROID_NDK_ROOT=${ANDROID_HOME}/ndk/${NDK_VERSION}" >> "$GITHUB_OUTPUT"
|
||||
- uses: actions/cache@v4
|
||||
with:
|
||||
|
Loading…
x
Reference in New Issue
Block a user