Compare commits

...

2 Commits

Author SHA1 Message Date
Tom Hu
d168679d44 chore(release): 5.0.6 (#1689) 2024-11-20 15:16:16 -05:00
Tom Hu
373fd71a64 fix: update CODECOV_TOKEN and fix tokenless (#1688)
* fix: add space

* fix: update CODECOV_TOKEN if set with env
2024-11-20 15:11:41 -05:00
3 changed files with 12 additions and 2 deletions

View File

@@ -1,3 +1,10 @@
## v5.0.6
### What's Changed
* fix: update CODECOV_TOKEN and fix tokenless by @thomasrockhu-codecov in https://github.com/codecov/codecov-action/pull/1688
**Full Changelog**: https://github.com/codecov/codecov-action/compare/v5.0.5..v5.0.6
## v5.0.5 ## v5.0.5
### What's Changed ### What's Changed
* chore(release): wrapper-0.0.27 by @app/codecov-releaser-app in https://github.com/codecov/codecov-action/pull/1685 * chore(release): wrapper-0.0.27 by @app/codecov-releaser-app in https://github.com/codecov/codecov-action/pull/1685

View File

@@ -173,6 +173,9 @@ runs:
# {"count":1984,"value":"***"} # {"count":1984,"value":"***"}
CC_TOKEN=$(curl -H "Authorization: bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN" "$ACTIONS_ID_TOKEN_REQUEST_URL&audience=https://codecov.io" | cut -d\" -f6) CC_TOKEN=$(curl -H "Authorization: bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN" "$ACTIONS_ID_TOKEN_REQUEST_URL&audience=https://codecov.io" | cut -d\" -f6)
echo "CC_TOKEN=$CC_TOKEN" >> "$GITHUB_ENV" echo "CC_TOKEN=$CC_TOKEN" >> "$GITHUB_ENV"
elif [ -n "${{ env.CODECOV_TOKEN }}" ];
then
echo "CC_TOKEN=${{ env.CODECOV_TOKEN }}" >> "$GITHUB_ENV"
else else
if [ -n ${{ inputs.token }} ]; if [ -n ${{ inputs.token }} ];
then then

View File

@@ -1 +1 @@
CODECOV_ACTION_VERSION="5.0.5" CODECOV_ACTION_VERSION="5.0.6"