Skip to content

Commit

Permalink
💚 CI: Fixed CODECOV_TOKEN secret variables bug in Azure pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
abhiTronix committed Aug 11, 2024
1 parent 35bd17c commit 35efaf9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,10 @@ steps:
shasum -a 256 -c codecov.SHA256SUM
chmod +x codecov
if [ "$(exit_code)" != "124" ]; then
./codecov --verbose upload-process --fail-on-error -t ${{ secrets.CODECOV_TOKEN }} -f coverage.xml -C $(Build.SourceVersion) -B $(Build.SourceBranch) -b $(Build.BuildNumber);
./codecov --verbose upload-process --fail-on-error -t $CODECOV_TOKEN -f coverage.xml -C $(Build.SourceVersion) -B $(Build.SourceBranch) -b $(Build.BuildNumber);
else
echo "Timeout test - Skipped Codecov!";
fi
env:
CODECOV_TOKEN: $(CODECOV_TOKEN)
displayName: Upload coverage to CodeCov

0 comments on commit 35efaf9

Please sign in to comment.