From f831cf26d57bf50b359244fc690a26468df8f2fa Mon Sep 17 00:00:00 2001 From: Alexander Kacheryants Date: Fri, 12 Jul 2024 02:46:40 +0300 Subject: [PATCH] daaaa --- .gitea/workflows/test-make.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/test-make.yaml b/.gitea/workflows/test-make.yaml index b66001a..376edaa 100644 --- a/.gitea/workflows/test-make.yaml +++ b/.gitea/workflows/test-make.yaml @@ -42,7 +42,7 @@ jobs: curl --compressed --location --output tools.zip https://github.com/lzhiyong/android-sdk-tools/releases/download/34.0.3/android-sdk-tools-static-aarch64.zip unzip -d tools -n -q tools.zip rm -f tools.zip - cp tools/platform-tools/adb /path/to/android-sdk/platform-tools/adb + cp tools/platform-tools/adb $ANDROID_HOME/platform-tools/adb rm -fr tools shell: bash @@ -50,13 +50,13 @@ jobs: - name: Install Emulator run: | curl --compressed --location --output emulator.zip $(curl --location --silent https://ci.android.com/builds/submitted/11162281/emulator-linux_aarch64/latest/sdk-repo-linux_aarch64-emulator-11162281.zip | grep -o 'https://storage[^"]*' | sed 's/\\u0026/\&/g') - unzip -d /path/to/android-sdk -n -q emulator.zip + unzip -d $ANDROID_HOME -n -q emulator.zip rm -f emulator.zip - cp /path/to/android-sdk/platform-tools/package.xml /path/to/android-sdk/emulator/package.xml + cp $ANDROID_HOME/platform-tools/package.xml $ANDROID_HOME/emulator/package.xml sed -i \ -e 's|path="[a-zA-Z-]*"|path="emulator"|g' \ -e 's|Android .*<\/display-name>|Android Emulator<\/display-name>|g' \ - /path/to/android-sdk/emulator/package.xml + $ANDROID_HOME/emulator/package.xml echo 'Vulkan = off\nGLDirectMem = on' >> ~/.android/advancedFeatures.ini shell: bash