diff --git a/.forgejo/workflows/android-release.yml b/.forgejo/workflows/android-release.yml index 5245ff4..df2eca8 100644 --- a/.forgejo/workflows/android-release.yml +++ b/.forgejo/workflows/android-release.yml @@ -4,7 +4,7 @@ name: android-release # Forgejo release for the computed (or requested) tag. # # The runner job image is node:20-bullseye (EOL). Do not apt-get there. -# The toolchain runs in a sibling eclipse-temurin:17-jdk-bookworm container, +# toolchain runs in a sibling debian:bookworm container, # the same stdin-tar + docker cp pattern as .forgejo/workflows/ci.yml. # # First automated version with zero tags: v0.1.0. Afterwards, patch+1 from the @@ -49,7 +49,7 @@ env: CARGO_BUILD_JOBS: "1" ONIONWIRE_ANDROID_ABI: arm64-v8a ONIONWIRE_REQUIRE_RELEASE_KEY: "true" - ANDROID_IMAGE: eclipse-temurin:17-jdk-bookworm + ANDROID_IMAGE: debian:bookworm ANDROID_CMDLINE_TOOLS_URL: https://dl.google.com/android/repository/commandlinetools-linux-11076708_latest.zip RUST_TOOLCHAIN: "1.91" DOCKER_STATIC_URL: https://download.docker.com/linux/static/stable/x86_64/docker-27.5.1.tgz @@ -185,7 +185,7 @@ jobs: export DEBIAN_FRONTEND=noninteractive apt-get update apt-get install -y --no-install-recommends \ - python3 unzip curl ca-certificates file build-essential pkg-config git + openjdk-17-jdk-headless python3 unzip curl ca-certificates file build-essential pkg-config git mkdir -p /root/.android cp /src/.ci-android/onionwire-release.jks /root/.android/onionwire-release.jks cp /src/.ci-android/onionwire-release.env /root/.android/onionwire-release.env diff --git a/android/README.md b/android/README.md index f784dbc..5669119 100644 --- a/android/README.md +++ b/android/README.md @@ -123,7 +123,7 @@ deobfuscation, not before. `.forgejo/workflows/android-release.yml` runs on `docker-amd64` (T480 dind). The job image is `node:20-bullseye` (EOL) — **do not apt-get there**. The -toolchain runs in a sibling `eclipse-temurin:17-jdk-bookworm` container +toolchain runs in a sibling `debian:bookworm` container (stdin-tar + `docker cp`, same pattern as the Rust CI job). Any push to `main` that touches `android/**` (or the local build script / this workflow) builds `onionwire--android-arm64-v8a.apk` and