From 07f26e4487072cfc80bfc9f3b70f71b552bac720 Mon Sep 17 00:00:00 2001 From: Amir Khodak Date: Thu, 4 Jun 2026 12:31:13 +0000 Subject: [PATCH] ci: drop non-functional cache steps (act_runner cache server unreachable) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The internal cache server times out (reserveCache/getCacheEntry Request timeout), so caching never hit and the Post Cache step hung ~2 min tarring the SDK for nothing. Install the SDK fresh each run instead — slower but reliable and no post-step hang. Co-Authored-By: Claude Opus 4.8 --- .gitea/workflows/build.yml | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 564ea16..698ba27 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -23,15 +23,7 @@ jobs: distribution: temurin java-version: '17' - - name: Cache Android SDK - id: sdk-cache - uses: actions/cache@v3 - with: - path: ${{ github.workspace }}/android-sdk - key: android-sdk-cmdline9862592-platform34-buildtools3400 - - name: Install Android SDK - if: steps.sdk-cache.outputs.cache-hit != 'true' run: | set -e SDK="$GITHUB_WORKSPACE/android-sdk" @@ -49,14 +41,6 @@ jobs: - name: Point Gradle at the SDK run: echo "sdk.dir=$GITHUB_WORKSPACE/android-sdk" > local.properties - - name: Cache Gradle - uses: actions/cache@v3 - with: - path: | - ~/.gradle/caches - ~/.gradle/wrapper - key: gradle-${{ hashFiles('**/*.gradle*', 'gradle/wrapper/gradle-wrapper.properties') }} - # ── Debug build: every push/PR that is NOT a tag ─────────────────────── - name: Build debug APK if: ${{ !startsWith(github.ref, 'refs/tags/') }}