We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
flutter-version-file
1 parent e500398 commit 69b1b63Copy full SHA for 69b1b63
.github/workflows/backward_compatibility.yml
@@ -72,17 +72,13 @@ jobs:
72
# restore SDK constraint
73
yq e ".environment.sdk = \"${_sdkVersion}\"" -i pubspec.yaml
74
75
- # extract Flutter version to install later
76
- _flutterVersion=$( yq e '.environment.flutter' pubspec.yaml | sed -e 's/^>=//' | sed -e 's/-0$//' )
77
- echo "FLUTTER_VERSION=${_flutterVersion}" >> $GITHUB_ENV
78
-
79
# output for debugging
80
cat pubspec.yaml
81
82
- name: Setup Flutter
83
uses: subosito/flutter-action@f2c4f6686ca8e8d6e6d0f28410eeef506ed66aff # v2.18.0
84
with:
85
- flutter-version: ${{ env.FLUTTER_VERSION }}
+ flutter-version-file: packages/${{ matrix.package }}/pubspec.yaml
86
- run: flutter test
87
88
core:
0 commit comments