File tree 2 files changed +16
-1
lines changed
2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 13
13
- uses : codecov/codecov-action@v4
14
14
with :
15
15
file : coverage.xml
16
+ token : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change 6
6
inputs :
7
7
sourceFolder : source
8
8
codeCoverageCobertura : coverage.xml
9
- - script : bash <(curl -s https://codecov.io/bash)
9
+ - script : |
10
+ # download Codecov CLI
11
+ curl -Os https://cli.codecov.io/latest/linux/codecov
12
+
13
+ # integrity check
14
+ curl https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --no-default-keyring --keyring trustedkeys.gpg --import # One-time step
15
+ curl -Os https://cli.codecov.io/latest/linux/codecov
16
+ curl -Os https://cli.codecov.io/latest/linux/codecov.SHA256SUM
17
+ curl -Os https://cli.codecov.io/latest/linux/codecov.SHA256SUM.sig
18
+ gpgv codecov.SHA256SUM.sig codecov.SHA256SUM
19
+
20
+ # upload to Codecov
21
+ shasum -a 256 -c codecov.SHA256SUM
22
+ sudo chmod +x codecov
23
+ ./codecov upload-process -t $(CODECOV_TOKEN)
You can’t perform that action at this time.
0 commit comments