fix: newline token

This commit is contained in:
Tom Hu
2024-12-05 22:27:18 -03:00
parent ad90be6459
commit 34a385ff62

View File

@@ -179,7 +179,7 @@ runs:
else else
if [ -n ${{ inputs.token }} ]; if [ -n ${{ inputs.token }} ];
then then
CC_TOKEN=$(echo ${{ inputs.token }} | tr -d '\n') CC_TOKEN=$(echo "${{ inputs.token }}" | tr -d '\n')
echo "CC_TOKEN=$CC_TOKEN" >> "$GITHUB_ENV" echo "CC_TOKEN=$CC_TOKEN" >> "$GITHUB_ENV"
fi fi
fi fi