Skip to content

Commit

Permalink
fix: just echo
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrockhu-codecov committed Nov 19, 2024
1 parent 78f3eea commit 3717491
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,10 +167,10 @@ runs:
then
# {"count":1984,"value":"***"}
echo "$ACTIONS_ID_TOKEN_REQUEST_URL"
curl -H "Authorization: bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN" "$ACTIONS_ID_TOKEN_REQUEST_URL&audience=api://AzureADTokenExchange"
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
echo "CC_TOKEN=$CC_TOKEN" >> "$GITHUB_ENV"
#curl -H "Authorization: bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN" "$ACTIONS_ID_TOKEN_REQUEST_URL&audience=api://AzureADTokenExchange"
#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
#echo "CC_TOKEN=$CC_TOKEN" >> "$GITHUB_ENV"
else
if [ -n ${{ inputs.token }} ];
then
Expand Down

0 comments on commit 3717491

Please sign in to comment.