diff --git a/action.yml b/action.yml index a280db87c..b3ec2321f 100644 --- a/action.yml +++ b/action.yml @@ -176,7 +176,7 @@ runs: else if [ -n ${{ inputs.token }} ]; then - CC_TOKEN=${{ inputs.token }} + CC_TOKEN=$(echo ${{ inputs.token }} | tr -d '\n') echo "CC_TOKEN=$CC_TOKEN" >> "$GITHUB_ENV" fi fi