diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ef6ad0ec3..92d85c49c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,8 +28,8 @@ jobs: if: steps.cache-flutter.outputs.cache-hit != 'true' uses: subosito/flutter-action@v2 with: - flutter-version: 3.24.0 - channel: any + channel: stable + flutter-version-file: pubspec.yaml - name: 下载项目依赖 run: flutter pub get