File tree Expand file tree Collapse file tree 3 files changed +14
-4
lines changed Expand file tree Collapse file tree 3 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 9
9
pull_request :
10
10
branches : [main]
11
11
12
- workflow_dispatch :
12
+ # This ensures that previous jobs for the PR are canceled when PR is updated
13
+ concurrency :
14
+ group : ${{ github.workflow }}-${{ github.ref }}
15
+ cancel-in-progress : true
13
16
14
17
jobs :
15
18
build :
@@ -23,10 +26,11 @@ jobs:
23
26
with :
24
27
paths : " **/*.md"
25
28
26
- - name : Flutter action
27
- uses : subosito/flutter-action@v2
29
+ - uses : subosito/flutter-action@v2
28
30
with :
29
31
channel : ' stable'
32
+ # use the build-in cache from Subosito
33
+ cache : true
30
34
31
35
- name : Install dependencies
32
36
run : flutter pub get
45
49
flutter build ios --debug --no-codesign
46
50
47
51
- name : Upload coverage to Codecov
48
- uses : codecov/codecov-action@v3
52
+ uses : codecov/codecov-action@v4
49
53
env :
50
54
CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
51
55
with :
67
71
uses : subosito/flutter-action@v2
68
72
with :
69
73
channel : ' stable'
74
+ # use the build-in cache from Subosito
75
+ cache : true
70
76
- name : Publish package
71
77
run : dart pub publish -v -f
72
78
Original file line number Diff line number Diff line change @@ -74,3 +74,6 @@ pubspec.lock
74
74
! ** /ios /** /default.mode2v3
75
75
! ** /ios /** /default.pbxuser
76
76
! ** /ios /** /default.perspectivev3
77
+
78
+ # L10n files
79
+ ** /intl
Original file line number Diff line number Diff line change @@ -6,4 +6,5 @@ synthetic-package: false
6
6
output-dir : lib/localization/intl
7
7
output-localization-file : messages.dart
8
8
output-class : FormBuilderLocalizationsImpl
9
+ nullable-getter : false
9
10
# untranslated-messages-file: build/untranslated-messages.txt
You can’t perform that action at this time.
0 commit comments