diff --git a/.github/workflows/build release.yml b/.github/workflows/build release.yml index bc69bfe..307184f 100644 --- a/.github/workflows/build release.yml +++ b/.github/workflows/build release.yml @@ -1,6 +1,7 @@ name: Flutter Windows, Linux, macOS, and Android Release on: + workflow_dispatch: push: branches: ["main"] pull_request: @@ -8,7 +9,10 @@ on: jobs: build-windows: - runs-on: windows-latest + # Flutter 3.29 只支持到 VS 2022(主版本 17);windows-latest 与 windows-2025 + # 现在都指向 VS 2026(18) 镜像,会退化成 -G "Visual Studio 16 2019" 而失败。 + # 待升级 Flutter(>= 3.41 才认识 VS 2026)后可去掉此固定。 + runs-on: windows-2022 steps: - name: Checkout repository