From a01baa661de243f55ec7e9c9d0975bd2b7ee9b05 Mon Sep 17 00:00:00 2001 From: nandithebull Date: Wed, 18 Nov 2026 19:59:13 +0000 Subject: [PATCH] Check out with git in the JDK container (no Node) --- .gitea/workflows/launcher.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/launcher.yml b/.gitea/workflows/launcher.yml index 464f912..188cf15 100644 --- a/.gitea/workflows/launcher.yml +++ b/.gitea/workflows/launcher.yml @@ -10,7 +10,16 @@ jobs: timeout-minutes: 60 container: eclipse-temurin:17-jdk-noble steps: - - uses: actions/checkout@v4 + - name: Checkout + env: + GITHUB_TOKEN: ${{ github.token }} + run: | + apt-get update -qq + apt-get install -y -qq --no-install-recommends git ca-certificates >/dev/null + git init -q + git -c http.extraHeader="Authorization: Basic $(printf 'x-access-token:%s' "$GITHUB_TOKEN" | base64 -w0)" \ + fetch -q --depth 1 "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git" "${GITHUB_SHA}" + git checkout -q --detach FETCH_HEAD - name: Test, build and release the Qt APK env: GITEA_TOKEN: ${{ github.token }}