Skip to content

Commit e41b5ae

Browse files
committed
Use setup-skip action
1 parent 2d4193c commit e41b5ae

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ jobs:
5252
- name: "Launch emulator"
5353
timeout-minutes: 10
5454
run: |
55-
which adb
56-
5755
yes Y | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --licenses
5856
5957
# Install AVD files
@@ -75,21 +73,7 @@ jobs:
7573
run: |
7674
$ANDROID_HOME/platform-tools/adb shell 'echo Hello Android!'
7775
78-
- name: "Install Skip (macOS)"
79-
if: ${{ startsWith(matrix.os, 'macos-') }}
80-
run: |
81-
brew install skiptools/skip/skip
82-
skip android sdk install
83-
84-
- name: Install Skip (Ubuntu)
85-
if: ${{ startsWith(matrix.os, 'ubuntu-') }}
86-
run: |
87-
mkdir -p ~/bin/skiptools
88-
cd ~/bin/skiptools
89-
curl -fsSLO https://github.com/skiptools/skip/releases/latest/download/skip-linux.zip
90-
unzip skip-linux.zip
91-
echo "PATH=${PWD}/skip.artifactbundle/$(uname -m)-swift-linux-musl:${PATH}" >> $GITHUB_ENV
92-
cd -
76+
- uses: skiptools/actions/setup-skip@setup-skip
9377

9478
- name: "Test Swift Package"
9579
run: |

0 commit comments

Comments
 (0)