Skip to content

Commit 5020a88

Browse files
Update dart.yml
1 parent d02ab95 commit 5020a88

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/dart.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,13 @@ jobs:
1414
# 检出代码
1515
- uses: actions/checkout@v4
1616

17-
# 设置 Flutter 环境
18-
- uses: subosito/flutter-action@v2
19-
with:
20-
flutter-version: "stable"
17+
# 安装 Flutter SDK
18+
- name: Install Flutter SDK
19+
run: |
20+
curl -O https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.13.0-stable.tar.xz
21+
tar xf flutter_linux_3.13.0-stable.tar.xz
22+
export PATH="$PATH:$PWD/flutter/bin"
23+
flutter doctor
2124
2225
# 安装依赖项
2326
- name: Install dependencies

0 commit comments

Comments
 (0)