Skip to content

Commit

Permalink
Install required Android platform.
Browse files Browse the repository at this point in the history
  • Loading branch information
csaba-ilonka-rollbar committed Aug 12, 2024
1 parent ef3a3a6 commit 1ad3ef2
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ jobs:
- name: Environment info
run: |
./gradlew --version
echo ANDROID_SDK_ROOT: ${ANDROID_SDK_ROOT}
${ANDROID_SDK_ROOT}/tools/bin/sdkmanager --version
echo JAVA_HOME: ${JAVA_HOME}
java -version
javac -version
echo ANDROID_HOME: ${ANDROID_HOME}
echo ANDROID_SDK_ROOT: ${ANDROID_SDK_ROOT}
- name: Build
run: 'source ~/.jdk7_home && ./gradlew clean build'
Expand All @@ -84,6 +84,16 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Set up Java 11 for the Android SDK Manager
uses: actions/setup-java@v1
with:
java-version: 11

- name: Install Android SDK
run: |
echo "Android SDK Manager version: `${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager --version`"
${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager "platforms;android-27" "build-tools;28.0.3"
- name: Set up Java 7
uses: actions/setup-java@v1
with:
Expand Down

0 comments on commit 1ad3ef2

Please sign in to comment.