mirror of
https://github.com/codecov/codecov-action.git
synced 2026-03-30 01:55:02 +00:00
fix: use double-quotes for OIDC (#1669)
* fix: get log for use oidc * fix: add oidc run * fix: move the oidc call * fix: update to use double quote on oidc
This commit is contained in:
@@ -166,7 +166,7 @@ runs:
|
||||
if [ ${{ inputs.use_oidc }} == 'true' ];
|
||||
then
|
||||
# {"count":1984,"value":"***"}
|
||||
CC_TOKEN=$(curl -H "Authorization: bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN" "$ACTIONS_ID_TOKEN_REQUEST_URL&audience=api://AzureADTokenExchange" | cut -d\' -f6)
|
||||
CC_TOKEN=$(curl -H "Authorization: bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN" "$ACTIONS_ID_TOKEN_REQUEST_URL&audience=api://AzureADTokenExchange" | cut -d\" -f6)
|
||||
echo "CC_TOKEN=$CC_TOKEN" >> "$GITHUB_ENV"
|
||||
else
|
||||
if [ -n ${{ inputs.token }} ];
|
||||
|
||||
Reference in New Issue
Block a user