From c45aabaf3737df6e8ed0cd4ba050e2ac50c4cc77 Mon Sep 17 00:00:00 2001 From: SuperMonster003 Date: Wed, 1 Jan 2025 20:46:44 +0800 Subject: [PATCH] Update android.yml --- .github/workflows/android.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 57850250..1d51acbf 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -20,12 +20,11 @@ jobs: distribution: 'temurin' cache: gradle - - name: Install CMake 3.10.2 + - name: Install CMake 3.10.2 manually run: | - sudo apt-get update - sudo apt-get install -y software-properties-common - sudo apt-add-repository -y ppa:deadsnakes/ppa - sudo apt-get install -y cmake=3.10.2 + wget https://cmake.org/files/v3.10/cmake-3.10.2-Linux-x86_64.sh + chmod +x cmake-3.10.2-Linux-x86_64.sh + sudo ./cmake-3.10.2-Linux-x86_64.sh --skip-license --prefix=/usr/local - name: Grant execute permission for gradlew run: chmod +x gradlew