From 99e757bc6f8e144e3440d36a81b2fcf2d6d92b67 Mon Sep 17 00:00:00 2001 From: Leo Vasanko Date: Tue, 22 Sep 2026 04:13:21 +0000 Subject: [PATCH] Checkout with plain git clone; JS actions need node on host runners --- .gitea/workflows/release.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index 51eb48b..e002da9 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -13,10 +13,13 @@ jobs: os: [macos, windows, linux] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v4 - with: - # setuptools_scm needs full history/tags to compute the version - fetch-depth: 0 + # Plain git clone instead of actions/checkout (a JS action that would + # require node on the host). Full history so setuptools_scm sees tags. + - name: Checkout + shell: bash + run: | + git clone "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY.git" . + git checkout -f "$GITHUB_SHA" - name: Build GUI app zip and dist packages run: uv run --extra gui scripts/guibuild.py