mirror of
https://github.com/codecov/codecov-action.git
synced 2025-12-23 20:27:02 +08:00
fix: newline token
This commit is contained in:
@@ -179,7 +179,7 @@ runs:
|
||||
else
|
||||
if [ -n ${{ inputs.token }} ];
|
||||
then
|
||||
CC_TOKEN=$(echo ${{ inputs.token }} | tr -d '\n')
|
||||
CC_TOKEN=$(echo "${{ inputs.token }}" | tr -d '\n')
|
||||
echo "CC_TOKEN=$CC_TOKEN" >> "$GITHUB_ENV"
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user