ci(workflow): 更新 Flutter 版本至 3.24.3 并添加回退检查
添加 Windows 平台 Flutter 安装脚本,支持版本 3.35.5
This commit is contained in:
@@ -188,11 +188,19 @@ jobs:
|
||||
exit 1
|
||||
}
|
||||
|
||||
- name: Setup Flutter
|
||||
- name: Setup Flutter 3.24.3
|
||||
uses: subosito/flutter-action@v2
|
||||
with:
|
||||
flutter-version: '3.35.5'
|
||||
flutter-version: '3.24.3'
|
||||
channel: 'stable'
|
||||
|
||||
- name: Checkout Flutter 3.35.5
|
||||
shell: powershell
|
||||
run: |
|
||||
Set-Location $env:FLUTTER_ROOT
|
||||
git fetch --tags
|
||||
git checkout 3.35.5
|
||||
flutter --version
|
||||
- name: Enable Windows desktop
|
||||
run: flutter config --enable-windows-desktop
|
||||
|
||||
|
||||
Reference in New Issue
Block a user