From 55822875ba540510e5f222633bec7ad596ce4d48 Mon Sep 17 00:00:00 2001 From: Andy Wang Date: Sat, 29 Jun 2024 18:32:09 +0100 Subject: [PATCH] Pin build tools version --- .github/workflows/android.yml | 8 ++++++++ app/build.gradle | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 9f3e573..bae2873 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -28,6 +28,12 @@ jobs: ndk-version: r26d link-to-sdk: true + - name: Compile Go libs + script: | + pushd 'app/src' + ./make.sh + popd + - name: Build with Gradle run: ./gradlew --no-daemon assembleRelease @@ -38,6 +44,8 @@ jobs: releaseDirectory: app/build/outputs/apk/release signingKeyBase64: ${{ secrets.SIGNING_KEY }} keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }} + env: + BUILD_TOOLS_VERSION: "34.0.0" - name: Upload release files uses: softprops/action-gh-release@v2 diff --git a/app/build.gradle b/app/build.gradle index a85a87e..248183f 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -6,7 +6,8 @@ apply plugin: 'kotlin-android-extensions' android { - compileSdkVersion 29 + compileSdk 34 + buildToolsVersion "34.0.0" ndkVersion "21.3.6528147" defaultConfig { applicationId "com.github.shadowsocks.plugin.ck_client"