diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 47ab4d8..0fc2f8d 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -18,8 +18,9 @@ jobs: distribution: temurin java-version: '17' - # Installed explicitly rather than via android-actions/setup-android, - # which assumes a GitHub-hosted image with the SDK already present. + # Installed explicitly rather than via android-actions/setup-android + # so the SDK package versions are pinned to match compileSdk 35 / + # build-tools 35.0.0, instead of whatever the action defaults to. # Persists in $HOME on this self-hosted runner, so it's a one-time cost. - name: Set up Android SDK run: | diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 4988ddd..0f6bbb2 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -17,8 +17,8 @@ jobs: distribution: temurin java-version: '17' - # See ci.yml — installed explicitly rather than via - # android-actions/setup-android, which assumes a GitHub-hosted image. + # See ci.yml — installed explicitly so SDK package versions stay + # pinned to match the build config. - name: Set up Android SDK run: | set -eu