Skip to content

Commit 64a51a3

Browse files
Update README.md
1 parent 4238d3b commit 64a51a3

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

README.md

+15-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,21 @@ steps:
3131
inputs:
3232
sourceFolder: source
3333
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)
3549
```
3650
3751
### CircleCI

0 commit comments

Comments
 (0)