Skip to content

Commit 9406bce

Browse files
authored
Search legacy path for android sdkmanager. Add 2023.2 to tests (#606)
1 parent bbd713b commit 9406bce

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

.github/workflows/build-tests-mac.yml

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
- 2021.3.32f1
2222
- 2022.3.13f1
2323
- 2023.1.19f1
24+
- 2023.2.2f1
2425
targetPlatform:
2526
- StandaloneOSX # Build a MacOS executable
2627
- iOS # Build an iOS executable

.github/workflows/build-tests-ubuntu.yml

+1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ jobs:
5050
- 2021.3.32f1
5151
- 2022.3.13f1
5252
- 2023.1.19f1
53+
- 2023.2.2f1
5354
targetPlatform:
5455
- StandaloneOSX # Build a macOS standalone (Intel 64-bit) with mono backend.
5556
- StandaloneWindows64 # Build a Windows 64-bit standalone with mono backend.

.github/workflows/build-tests-windows.yml

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
- 2021.3.32f1
2222
- 2022.3.13f1
2323
- 2023.1.19f1
24+
- 2023.2.2f1
2425
targetPlatform:
2526
- Android # Build an Android apk.
2627
- StandaloneWindows64 # Build a Windows 64-bit standalone.

dist/platforms/ubuntu/entrypoint.sh

+6-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,12 @@ if [[ "$BUILD_TARGET" == "Android" ]]; then
1919
SDKMANAGER=$(find $ANDROID_HOME_DIRECTORY/cmdline-tools -name sdkmanager)
2020
if [ -z "${SDKMANAGER}" ]
2121
then
22-
echo "No sdkmanager found"
23-
exit 1
22+
SDKMANAGER=$(find $ANDROID_HOME_DIRECTORY/tools/bin -name sdkmanager)
23+
if [ -z "${SDKMANAGER}" ]
24+
then
25+
echo "No sdkmanager found"
26+
exit 1
27+
fi
2428
fi
2529

2630
if [[ -n "$ANDROID_SDK_MANAGER_PARAMETERS" ]]; then

0 commit comments

Comments
 (0)