From ccba87e75424d4c59aa094750a0bc6815f4016f1 Mon Sep 17 00:00:00 2001 From: admin Date: Wed, 25 Mar 2026 20:10:11 +0100 Subject: [PATCH] fix: replace actions/checkout with git clone (no Node.js required) Co-Authored-By: Claude Opus 4.6 (1M context) --- .gitea/workflows/build-release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build-release.yml b/.gitea/workflows/build-release.yml index 2409fd3..7e80518 100644 --- a/.gitea/workflows/build-release.yml +++ b/.gitea/workflows/build-release.yml @@ -9,7 +9,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + run: | + git clone --depth 1 --branch "${GITHUB_REF_NAME}" \ + "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git" . - name: Validate environment run: |