From 672d24966c07bfe8f79a8c096436570225167d5e Mon Sep 17 00:00:00 2001 From: Marcus Rehbock Date: Fri, 7 Aug 2026 01:07:18 -0700 Subject: [PATCH] CI: replace checkout action with direct git clone (no node in container) Co-Authored-By: Claude Fable 5 --- .gitea/workflows/release.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 1f974a3..bf60276 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -10,11 +10,16 @@ jobs: container: image: eclipse-temurin:21-jdk steps: - - uses: actions/checkout@v4 + # actions/checkout needs node, which this container lacks — clone directly + - name: Checkout + run: | + apt-get update -qq && apt-get install -y -qq git unzip curl >/dev/null + git init -q . + git fetch -q --depth 1 "${{ github.server_url }}/${{ github.repository }}.git" "${{ github.sha }}" + git checkout -q FETCH_HEAD - name: Install Android SDK run: | - apt-get update -qq && apt-get install -y -qq unzip curl >/dev/null mkdir -p "$HOME/android-sdk/cmdline-tools" curl -sLo /tmp/ct.zip https://dl.google.com/android/repository/commandlinetools-linux-11076708_latest.zip unzip -q /tmp/ct.zip -d /tmp