From 09f1dac9ae24c4539ab6044b7bfaee93b7e4007a Mon Sep 17 00:00:00 2001 From: Petr Pokorny Date: Mon, 6 Sep 2021 20:41:42 +0200 Subject: [PATCH] Android build times out on GH runners Execution failed for task ':MapboxGLAndroidSDK:compileReleaseKotlin'. > Could not resolve all artifacts for configuration ':MapboxGLAndroidSDK:releaseCompileClasspath'. > Could not download okhttp-3.12.3.jar (com.squareup.okhttp3:okhttp:3.12.3) > Could not get resource 'https://repo.maven.apache.org/maven2/com/squareup/okhttp3/okhttp/3.12.3/okhttp-3.12.3.jar'. > Could not GET 'https://repo.maven.apache.org/maven2/com/squareup/okhttp3/okhttp/3.12.3/okhttp-3.12.3.jar'. > Read timed out > Could not download gson-2.8.6.jar (com.google.code.gson:gson:2.8.6) > Could not get resource 'https://repo.maven.apache.org/maven2/com/google/code/gson/gson/2.8.6/gson-2.8.6.jar'. > Could not HEAD 'https://repo.maven.apache.org/maven2/com/google/code/gson/gson/2.8.6/gson-2.8.6.jar'. > Read timed out --- .github/workflows/android-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/android-release.yml b/.github/workflows/android-release.yml index 72fbe5f2d..987524ae3 100644 --- a/.github/workflows/android-release.yml +++ b/.github/workflows/android-release.yml @@ -5,7 +5,7 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: [self-hosted, ubuntu-20.04] defaults: run: working-directory: platform/android