fix: newline token

This commit is contained in:
Tom Hu 2024-12-05 22:27:18 -03:00
parent ad90be6459
commit 34a385ff62
No known key found for this signature in database
GPG key ID: 79155678363963D2

View file

@ -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