10
10
paths-ignore :
11
11
- ' **.md'
12
12
workflow_dispatch :
13
- inputs :
14
- flutter_n_minus_one_version :
15
- description : The N-1 version of Flutter.
16
- required : false
17
- # The version of Flutter to use should use the minimum Dart SDK version supported by the package,
18
- # refer to https://docs.flutter.dev/development/tools/sdk/releases.
19
- # Note: The version below should be manually updated to the latest second most recent version
20
- # after a new stable version comes out.
21
- default : " 3.24.5"
22
- flutter_current_version :
23
- description : The current version of Flutter.
24
- required : false
25
- default : " 3.x"
26
13
27
14
jobs :
28
15
# Does a sanity check that packages at least pass analysis on the N-1
@@ -31,21 +18,25 @@ jobs:
31
18
# (which we don't commit to supporting, but don't want to actively break)
32
19
# without updating the constraints.
33
20
lint_and_build :
34
- name : Flutter version ${{ matrix.flutter-version }} Lint and Build.
21
+ name : Flutter Version ${{ matrix.flutter-version }} Lint and Build.
35
22
runs-on : ubuntu-latest
36
23
strategy :
37
24
matrix :
38
25
flutter-version :
39
- - ${{ inputs.flutter_n_minus_one_version }}
40
- - ${{ inputs.flutter_current_version }}
26
+ # The version of Flutter to use should use the minimum Dart SDK version supported by the package,
27
+ # refer to https://docs.flutter.dev/development/tools/sdk/releases.
28
+ # Note: The version below should be manually updated to the latest second most recent version
29
+ # after a new stable version comes out.
30
+ - " 3.24.5"
31
+ - " 3.x"
41
32
steps :
42
33
- name : 📚 Git Checkout
43
34
uses : actions/checkout@v4
44
35
45
36
- name : 🐦 Setup Flutter
46
37
uses : subosito/flutter-action@v2
47
38
with :
48
- flutter-version : ${{matrix.flutter-version}}
39
+ flutter-version : ${{ matrix.flutter-version }}
49
40
channel : stable
50
41
cache : true
51
42
cache-key : flutter-:os:-:channel:-:version:-:arch:-:hash:-${{ hashFiles('**/pubspec.lock') }}
0 commit comments