Skip to content

Commit 11fe1f8

Browse files
authored
ci: update actions versions and remove NDK install (#605)
1 parent 36c3c54 commit 11fe1f8

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/android.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,14 @@ jobs:
1010
# https://github.com/firebase/snippets-android/issues/602
1111
runs-on: ubuntu-22.04
1212
steps:
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v4
14+
- name: Check Snippets
15+
run: python scripts/checksnippets.py
1416
- name: set up JDK 17
15-
uses: actions/setup-java@v1
17+
uses: actions/setup-java@v4
1618
with:
1719
java-version: 17
18-
- name: Check Snippets
19-
run: python scripts/checksnippets.py
20-
- name: Install NDK
21-
run: echo "y" | sudo ${ANDROID_HOME}/cmdline-tools/latest/bin/sdkmanager --install "ndk;21.0.6113669" --sdk_root=${ANDROID_SDK_ROOT}
20+
distribution: temurin
2221
- name: Build with Gradle (Pull Request)
2322
run: ./build_pull_request.sh
2423
if: github.event_name == 'pull_request'

0 commit comments

Comments
 (0)