From 34a385ff62525581465da329fb5ce261d2f1623d Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Thu, 5 Dec 2024 22:27:18 -0300 Subject: [PATCH] fix: newline token --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index bd57b3829..8fce41185 100644 --- a/action.yml +++ b/action.yml @@ -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