Compare commits
No commits in common. "3b419d1e24e9574dd790bb5dd70802140adb880a" and "54dd4cbd35780783e4b5fbf87cbb4fa7171bfa69" have entirely different histories.
3b419d1e24
...
54dd4cbd35
@ -191,8 +191,16 @@ jobs:
|
|||||||
- name: Setup Flutter
|
- name: Setup Flutter
|
||||||
uses: subosito/flutter-action@v2
|
uses: subosito/flutter-action@v2
|
||||||
with:
|
with:
|
||||||
flutter-version: '3.35.5'
|
flutter-version: '3.24.0'
|
||||||
channel: 'stable'
|
channel: 'stable'
|
||||||
|
|
||||||
|
- name: Checkout Flutter 3.24.5
|
||||||
|
shell: powershell
|
||||||
|
run: |
|
||||||
|
Set-Location $env:FLUTTER_ROOT
|
||||||
|
git fetch --tags
|
||||||
|
git checkout 3.24.5
|
||||||
|
flutter --version
|
||||||
- name: Enable Windows desktop
|
- name: Enable Windows desktop
|
||||||
run: flutter config --enable-windows-desktop
|
run: flutter config --enable-windows-desktop
|
||||||
|
|
||||||
@ -278,13 +286,6 @@ jobs:
|
|||||||
assets/fonts
|
assets/fonts
|
||||||
assets/translations
|
assets/translations
|
||||||
sparse-checkout-cone: true
|
sparse-checkout-cone: true
|
||||||
- name: Setup Flutter
|
|
||||||
uses: subosito/flutter-action@v2
|
|
||||||
with:
|
|
||||||
flutter-version: '3.35.5'
|
|
||||||
channel: 'stable'
|
|
||||||
- name: Enable Windows desktop
|
|
||||||
run: flutter config --enable-windows-desktop
|
|
||||||
|
|
||||||
- name: 🔍 Verify jq Installation (ACT)
|
- name: 🔍 Verify jq Installation (ACT)
|
||||||
shell: powershell
|
shell: powershell
|
||||||
|
|||||||
@ -1,23 +0,0 @@
|
|||||||
@echo off
|
|
||||||
REM 测试 Flutter 安装和版本
|
|
||||||
|
|
||||||
REM 设置 Flutter 路径(假设已安装,如果未安装需手动设置)
|
|
||||||
set FLUTTER_ROOT=C:\flutter REM 替换为您的 Flutter 安装路径
|
|
||||||
|
|
||||||
REM 添加 Flutter 到 PATH
|
|
||||||
set PATH=%FLUTTER_ROOT%\bin;%PATH%
|
|
||||||
|
|
||||||
REM 检查 Flutter 版本
|
|
||||||
flutter --version
|
|
||||||
|
|
||||||
REM 如果需要,升级到指定版本
|
|
||||||
REM flutter upgrade --force
|
|
||||||
|
|
||||||
REM 启用 Windows desktop
|
|
||||||
flutter config --enable-windows-desktop
|
|
||||||
|
|
||||||
REM 获取依赖(假设在项目目录中运行)
|
|
||||||
flutter pub get
|
|
||||||
|
|
||||||
REM 暂停以查看输出
|
|
||||||
pause
|
|
||||||
Loading…
x
Reference in New Issue
Block a user