File tree 1 file changed +16
-2
lines changed
1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -35,10 +35,25 @@ steps:
35
35
- uses : actions/checkout@master
36
36
- uses : codecov/codecov-action@v4
37
37
with :
38
+ fail_ci_if_error : true # optional (default = false)
38
39
files : ./coverage1.xml,./coverage2.xml # optional
39
40
flags : unittests # optional
40
41
name : codecov-umbrella # optional
42
+ token : ${{ secrets.CODECOV_TOKEN }} # required
43
+ verbose : true # optional (default = false)
44
+ ` ` `
45
+
46
+ The Codecov token can also be passed in via environment variables:
47
+
48
+ ` ` ` yaml
49
+ steps :
50
+ - uses : actions/checkout@master
51
+ - uses : codecov/codecov-action@v4
52
+ with :
41
53
fail_ci_if_error : true # optional (default = false)
54
+ files : ./coverage1.xml,./coverage2.xml # optional
55
+ flags : unittests # optional
56
+ name : codecov-umbrella # optional
42
57
verbose : true # optional (default = false)
43
58
env :
44
59
CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
@@ -125,9 +140,8 @@ jobs:
125
140
files: ./coverage1.xml,./coverage2.xml,!./cache
126
141
flags: unittests
127
142
name: codecov-umbrella
143
+ token: ${{ secrets.CODECOV_TOKEN }}
128
144
verbose: true
129
- env:
130
- CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
131
145
` ` `
132
146
# # Contributing
133
147
You can’t perform that action at this time.
0 commit comments