File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -49,26 +49,33 @@ jobs:
4949 BUILD_TOOLS_VERSION : " 35.0.0"
5050 steps :
5151 - uses : skiptools/actions/setup-skip@skip-action
52- - uses : skiptools/swift-android-action@v2
52+
53+ - uses : nttld/setup-ndk@v1
54+ id : setup-ndk
5355 with :
54- build-package : false
56+ ndk-version : r27d
5557
5658 - name : " Setup Environment"
5759 run : |
5860 echo "$ANDROID_HOME/cmdline-tools/latest/bin:$ANDROID_HOME/emulator:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$ANDROID_HOME/build-tools/${{ env.ANDROID_BUILD_TOOLS_VERSION }}" >> $GITHUB_PATH
61+ echo "ANDROID_NDK_HOME=${{ steps.setup-ndk.outputs.ndk-path }}" >> $GITHUB_ENV
5962 # needed for Linux
6063 if [[ "${RUNNER_OS}" == "Linux" ]]; then
6164 echo "ANDROID_AVD_HOME=${HOME}/.android/avd" >> $GITHUB_ENV
6265 fi
6366
67+ - uses : skiptools/swift-android-action@v2
68+ with :
69+ build-package : false
70+
6471 - name : SDKs - accept licenses
6572 run : yes y | sdkmanager --licenses
6673
6774 - name : SKDs - setup build tools
6875 run : sdkmanager --install "build-tools;${BUILD_TOOLS_VERSION}" platform-tools "platforms;android-${ANDROID_API}" --channel="${ANDROID_CHANNEL}"
6976
7077 - name : SKDs - setup emulator
71- run : sdkmanager --install emulator --channel="${ANDROID_CHANNEL}"
78+ run : sdkmanager --install emulator --channel="${ANDROID_CHANNEL}"
7279
7380 - name : SKDs - download required images
7481 run : sdkmanager --install "system-images;android-${ANDROID_API};${ANDROID_TARGET};${ANDROID_ARCH}" --channel="${ANDROID_CHANNEL}"
You can’t perform that action at this time.
0 commit comments