From 1d2dea214cb63df1687a6518cb2d71c76f2b402d Mon Sep 17 00:00:00 2001 From: edde746 <86283021+edde746@users.noreply.github.com> Date: Wed, 1 Jul 2026 07:06:28 +0200 Subject: [PATCH] ci(windows): set up arm64 Flutter 3.44.0 from git tag --- .github/workflows/build.yml | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b4ebdf03..417e7080 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -449,13 +449,18 @@ jobs: if: steps.windows-native-cache.outputs.cache-hit != 'true' run: choco install 7zip -y - - name: Setup Flutter - uses: subosito/flutter-action@v2 - with: - channel: "stable" - flutter-version: "3.44.0" - cache: true - pub-cache: false + - name: Set up Flutter 3.44.0 (git tag) + # Flutter publishes no windows-arm64 SDK archive, so subosito can't + # resolve 3.44.0 for arm64: the stable manifest has no arm64 entry, and + # `channel: master` would git-clone master HEAD (whose engine != our + # patched 3.44.0). Clone the 3.44.0 tag directly to get engine rev + # 4c525dac, which install-patched-engine.ps1 asserts before swapping. + shell: pwsh + run: | + $root = "$env:RUNNER_TEMP\flutter" + git clone --depth 1 --branch 3.44.0 https://github.com/flutter/flutter.git $root + "$root\bin" | Out-File -FilePath $env:GITHUB_PATH -Append -Encoding utf8 + & "$root\bin\flutter.bat" --version - name: Cache Pub dependencies uses: actions/cache@v4