Skip to content

Commit 28af61f

Browse files
committed
Try setup-skip action
1 parent a4e1d7d commit 28af61f

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff 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}"

0 commit comments

Comments
 (0)