Skip to content

Commit

Permalink
Revert "download platfrom matching the compile SDK version"
Browse files Browse the repository at this point in the history
This reverts commit 6466522.
  • Loading branch information
bakoushin committed Sep 18, 2024
1 parent 6466522 commit 556448c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/e2e-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ jobs:
echo "$ANDROID_HOME/cmdline-tools/latest/bin" >> $GITHUB_PATH
echo "$ANDROID_HOME/platform-tools" >> $GITHUB_PATH
echo "$ANDROID_HOME/emulator" >> $GITHUB_PATH
- name: Store compileSdkVersion in env
run: echo "ANDROID_COMPILE_SDK_VERSION=$(grep 'compileSdkVersion' android/build.gradle | grep -o '[0-9]\+')" >> $GITHUB_ENV
# See https://namespace.so/docs/actions/nscloud-cache-action
- name: Cache
uses: namespacelabs/nscloud-cache-action@v1
Expand All @@ -49,7 +47,7 @@ jobs:
# Temporarily disable checking for EPIPE error and use yes to accept all licenses
set +o pipefail
yes | sdkmanager "platform-tools" "platforms;android-${{ env.ANDROID_COMPILE_SDK_VERSION }}"
yes | sdkmanager "platform-tools" "platforms;android-${{ inputs.android-api-level }}"
set -o pipefail
# Allow the emulator to use /dev/kvm
Expand Down

0 comments on commit 556448c

Please sign in to comment.