Skip to content

Commit

Permalink
Merge pull request #180 from mcara/fix-azure
Browse files Browse the repository at this point in the history
Fix azure template for codecov
  • Loading branch information
zacharyburnett authored Apr 14, 2023
2 parents 62d4cdc + aa3231b commit a9bf1b1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions azure-templates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
displayName: run test
- bash: |
curl -Os https://uploader.codecov.io/latest/linux/codecov
curl -Os https://uploader.codecov.io/latest/${{parameters.os}}/codecov
chmod +x codecov
./codecov -t $codecov_token
env:
Expand All @@ -58,7 +58,9 @@ jobs:
displayName: codecov upload on Linux/Darwin
- powershell: |
codecov -t "$(CODECOV_TOKEN)"
$ProgressPreference = 'SilentlyContinue'
Invoke-WebRequest -Uri https://uploader.codecov.io/latest/windows/codecov.exe -Outfile codecov.exe
.\codecov.exe -t ${CODECOV_TOKEN}
condition: eq( variables['Agent.OS'], 'Windows_NT' )
displayName: codecov upload on Windows
Expand Down

0 comments on commit a9bf1b1

Please sign in to comment.