From c2f8bda4f3d929cb9b72ae6773be24fb2dbfe796 Mon Sep 17 00:00:00 2001 From: wangjia <809946525@qq.com> Date: Sun, 31 May 2026 00:17:43 +0800 Subject: [PATCH] =?UTF-8?q?chore(ci):=20=E7=A7=BB=E9=99=A4=20Windows=20pip?= =?UTF-8?q?eline=20=E4=B8=AD=E7=9A=84=20Git=20=E5=AE=89=E8=A3=85=E6=AD=A5?= =?UTF-8?q?=E9=AA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Git 已在 Windows runner 上手动安装并加入系统 PATH,无需每次 CI 安装。 Co-Authored-By: Claude Sonnet 4.6 --- .gitea/workflows/deploy.yml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 433c917..9b72015 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -53,16 +53,6 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Install Git (bash) - shell: cmd - run: | - where bash >nul 2>&1 && goto done - curl -L -o "%TEMP%\git-setup.exe" https://mirrors.tuna.tsinghua.edu.cn/github-release/git-for-windows/git/LatestRelease/Git-2.49.0-64-bit.exe - "%TEMP%\git-setup.exe" /VERYSILENT /NORESTART /NOCANCEL /SP- /CLOSEAPPLICATIONS /RESTARTAPPLICATIONS /COMPONENTS="icons,ext\reg\shellhere,assoc,assoc_sh" - :done - echo C:\Program Files\Git\bin>> %GITHUB_PATH% - echo C:\Program Files\Git\usr\bin>> %GITHUB_PATH% - - name: Compile (Flutter Windows) shell: bash run: sh scripts/ci/compile-windows.sh "${{ gitea.ref_name }}"