Skip to content

Commit 4238d3b

Browse files
Update azure-pipelines.yml
1 parent 294289e commit 4238d3b

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

.github/workflows/workflow.yml

+1
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ jobs:
1313
- uses: codecov/codecov-action@v4
1414
with:
1515
file: coverage.xml
16+
token: ${{ secrets.CODECOV_TOKEN }}

azure-pipelines.yml

+15-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,18 @@ steps:
66
inputs:
77
sourceFolder: source
88
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)

0 commit comments

Comments
 (0)