From 944c38cee53c47882308db009cc0f4074b1697b1 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 23 Jul 2024 15:16:34 -0300 Subject: [PATCH] a --- .github/workflows/build.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ca03f8e4e..7c2ce3770 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -81,16 +81,14 @@ jobs: - name: Install required dependencies run: | sudo apt install cmake golang-go libuv1 make ninja-build yasm - - name: Set up JDK 22 + - name: Set up JDK 11 uses: actions/setup-java@main with: - java-version: 22 + java-version: 11 distribution: temurin - name: Setup API keys run: | echo -e 'APP_ID = 105810\nAPP_HASH = 3e7a52498eec003c5896a330e5d29397' > API_KEYS - echo -e 'APP_ID = 105810\nAPP_HASH = 3e7a52498eec003c5896a330e5d29397' > ./TMessagesProj/API_KEYS - echo -e 'APP_ID = 105810\nAPP_HASH = 3e7a52498eec003c5896a330e5d29397' > ./TMessagesProj_App/API_KEYS - name: Setup Android cross-compiler uses: nttld/setup-ndk@main id: setup-ndk @@ -102,7 +100,7 @@ jobs: - name: Setup upterm session if: false uses: lhotari/action-upterm@v1 - - name: Build shit + - name: Build required dependencies working-directory: ./TMessagesProj/jni run: | ./build_libvpx_clang.sh @@ -110,7 +108,7 @@ jobs: ./patch_ffmpeg.sh ./patch_boringssl.sh NINJA_PATH='/usr/bin/ninja' ./build_boringssl.sh - - name: Build with Gradle + - name: Build Android project run: | bash gradlew --no-daemon 'assembleAfatRelease' find . \ No newline at end of file