diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 04ae7f67..e3fac8ab 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -6,17 +6,25 @@ on: jobs: build: - # TODO: Unpin version once firebase/snippets-android#602 is fixed - # https://github.com/firebase/snippets-android/issues/602 - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest + permissions: + contents: write steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: set up JDK 17 - uses: actions/setup-java@v1 + uses: actions/setup-java@v4 with: java-version: 17 + distribution: 'zulu' - name: Check Snippets run: python scripts/checksnippets.py + - name: What is home? + run: echo $HOME + - name: What is Android home? + run: echo $ANDROID_HOME + - name: What is Android SDK Root? + run: echo $ANDROID_SDK_ROOT + - name: Install NDK run: echo "y" | sudo ${ANDROID_HOME}/cmdline-tools/latest/bin/sdkmanager --install "ndk;21.0.6113669" --sdk_root=${ANDROID_SDK_ROOT} - name: Build with Gradle (Pull Request) diff --git a/settings.gradle.kts b/settings.gradle.kts index 0a024c63..bfefd1ac 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -18,7 +18,6 @@ include(":auth:app", ":storage:app", ":tasks:app", ":inappmessaging:app", - ":admob:app", ":messaging:app", ":crashlytics:app", ":perf:app",