From e29a5a3b0afddbba28444746a95c905e2aa96203 Mon Sep 17 00:00:00 2001 From: foxyz Date: Wed, 7 Oct 2026 21:46:33 +0300 Subject: [PATCH] probe: plain git checkout --- .gitea/workflows/probe.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/probe.yml b/.gitea/workflows/probe.yml index 45dd618..293ef6b 100644 --- a/.gitea/workflows/probe.yml +++ b/.gitea/workflows/probe.yml @@ -4,10 +4,14 @@ jobs: windows: runs-on: windows-latest steps: + # Plain git, no `uses:` — no node/action cache on the host needed. - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 0 + shell: powershell + run: | + git init -q . + git fetch -q --tags "$env:GITHUB_SERVER_URL/$env:GITHUB_REPOSITORY.git" "$env:GITHUB_SHA" + if ($LASTEXITCODE) { exit 1 } + git checkout -q --force FETCH_HEAD - name: Setup Flutter (stable, cached on the runner host) shell: powershell run: |