File tree 1 file changed +15
-1
lines changed
1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,21 @@ steps:
31
31
inputs :
32
32
sourceFolder : source
33
33
codeCoverageCobertura : coverage.xml
34
- - script : bash <(curl -s https://codecov.io/bash)
34
+ - script : |
35
+ # download Codecov CLI
36
+ curl -Os https://cli.codecov.io/latest/linux/codecov
37
+
38
+ # integrity check
39
+ curl https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --no-default-keyring --keyring trustedkeys.gpg --import # One-time step
40
+ curl -Os https://cli.codecov.io/latest/linux/codecov
41
+ curl -Os https://cli.codecov.io/latest/linux/codecov.SHA256SUM
42
+ curl -Os https://cli.codecov.io/latest/linux/codecov.SHA256SUM.sig
43
+ gpgv codecov.SHA256SUM.sig codecov.SHA256SUM
44
+
45
+ # upload to Codecov
46
+ shasum -a 256 -c codecov.SHA256SUM
47
+ sudo chmod +x codecov
48
+ ./codecov upload-process -t $(CODECOV_TOKEN)
35
49
` ` `
36
50
37
51
### CircleCI
You can’t perform that action at this time.
0 commit comments