Skip to content

Commit 1e7fc7a

Browse files
authored
ci: bump setup-android to v4.0.4 so it stops installing the removed 'tools' package (#2049)
setup-android v4.0.0 installs 'tools platform-tools' by default. Google has dropped the legacy 'tools' package from the SDK repository, so sdkmanager now exits 1 and every Build/Test job dies at "Setup Android SDK". v4.0.2 changed the default to 'platform-tools' only.
1 parent d0824c9 commit 1e7fc7a

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎.github/workflows/npm_release.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
java-version: "21"
5252
cache: gradle
5353
- name: Setup Android SDK
54-
uses: android-actions/setup-android@651bceb6f9ca583f16b8d75b62c36ded2ae6fc9c # v4.0.0
54+
uses: android-actions/setup-android@be39fa834029ff78f1a44aa3bb0819b8fc2bd8fd # v4.0.4
5555
- name: Setup NDK
5656
run: |
5757
echo "y" | sdkmanager "cmake;$CMAKE_VERSION"
@@ -150,7 +150,7 @@ jobs:
150150
java-version: "21"
151151
cache: gradle
152152
- name: Setup Android SDK
153-
uses: android-actions/setup-android@651bceb6f9ca583f16b8d75b62c36ded2ae6fc9c # v4.0.0
153+
uses: android-actions/setup-android@be39fa834029ff78f1a44aa3bb0819b8fc2bd8fd # v4.0.4
154154
- name: Setup NDK
155155
run: |
156156
echo "y" | sdkmanager "cmake;$CMAKE_VERSION"

‎.github/workflows/pull_request.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
java-version: "21"
4141
cache: gradle
4242
- name: Setup Android SDK
43-
uses: android-actions/setup-android@651bceb6f9ca583f16b8d75b62c36ded2ae6fc9c # v4.0.0
43+
uses: android-actions/setup-android@be39fa834029ff78f1a44aa3bb0819b8fc2bd8fd # v4.0.4
4444
- name: Setup NDK
4545
run: |
4646
echo "y" | sdkmanager "cmake;$CMAKE_VERSION"
@@ -122,7 +122,7 @@ jobs:
122122
java-version: "21"
123123
cache: gradle
124124
- name: Setup Android SDK
125-
uses: android-actions/setup-android@651bceb6f9ca583f16b8d75b62c36ded2ae6fc9c # v4.0.0
125+
uses: android-actions/setup-android@be39fa834029ff78f1a44aa3bb0819b8fc2bd8fd # v4.0.4
126126
- name: Setup NDK
127127
run: |
128128
echo "y" | sdkmanager "cmake;3.6.4111459"

0 commit comments

Comments
 (0)