File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 11
11
12
12
workflow_dispatch :
13
13
14
+ # This ensures that previous jobs for the PR are canceled when PR is updated
15
+ concurrency :
16
+ group : ${{ github.workflow }}-${{ github.ref }}
17
+ cancel-in-progress : true
18
+
14
19
jobs :
15
20
build :
16
21
runs-on : macos-latest
33
38
uses : subosito/flutter-action@v2
34
39
with :
35
40
channel : ' stable'
41
+ cache : true
36
42
37
43
- name : Install dependencies
38
44
run : flutter pub get
43
49
- name : Run tests
44
50
run : flutter test --coverage
45
51
- name : Upload coverage to Codecov
46
- uses : codecov/codecov-action@v3
52
+ uses : codecov/codecov-action@v4
53
+ env :
54
+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
47
55
with :
48
56
files : coverage/lcov.info
49
57
name : flutter_form_builder
70
78
uses : subosito/flutter-action@v2
71
79
with :
72
80
channel : ' stable'
81
+ cache : true
73
82
- name : Publish package
74
83
run : dart pub publish -v -f
You can’t perform that action at this time.
0 commit comments