Skip to content

Commit e006e0a

Browse files
committed
Apparently sdkmanager is not in PATH
1 parent 1071026 commit e006e0a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sources/SDL/Native/build-android.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ fi
66

77
if [ ! -z "$GITHUB_ACTIONS" ]; then
88
# NDK already installed: https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md
9-
sdkmanager --install "platforms;android-19"
9+
sdkmanager=( /usr/local/lib/android/sdk/cmdline-tools/*/bin/sdkmanager )
10+
${sdkmanager[-1]} --install "platforms;android-19"
1011
fi
1112

1213
../../../eng/submodules/sdl/build-scripts/build-release.py --actions android --root ../../../eng/submodules/sdl

0 commit comments

Comments
 (0)