From 15636d69b33519ca222ffd98bf68a40598a906e8 Mon Sep 17 00:00:00 2001 From: shifujun Date: Tue, 3 Mar 2026 11:54:18 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E4=B8=BB=E5=8A=A8=E5=AE=89=E8=A3=85Andro?= =?UTF-8?q?id=20SDK=2033?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 之前构建环境中有预装,现在没有了。 --- .github/actions/pre-build/action.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/actions/pre-build/action.yml b/.github/actions/pre-build/action.yml index 04f3b459a..1ebf203ce 100644 --- a/.github/actions/pre-build/action.yml +++ b/.github/actions/pre-build/action.yml @@ -11,6 +11,12 @@ runs: - name: revert gradle wrapper mirror setting shell: bash run: echo "DISABLE_TENCENT_MAVEN_MIRROR=true" >> $GITHUB_ENV + - name: Add cmdline-tools to PATH + shell: bash + run: echo "$ANDROID_HOME/cmdline-tools/latest/bin" >> "$GITHUB_PATH" + - name: Install specific Android SDK platforms + shell: bash + run: sdkmanager "platforms;android-33" - uses: actions/setup-java@v4 with: distribution: 'temurin'