From 3dac08eb3413df84989068c76ba70cf85db2987f Mon Sep 17 00:00:00 2001 From: chaoqun <27287694+OpenWaygate@users.noreply.github.com> Date: Sat, 13 Jul 2024 14:57:51 +0800 Subject: [PATCH] :necktie: Echo secrets without newline --- actions/general/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/actions/general/action.yml b/actions/general/action.yml index 2b49119..df02beb 100644 --- a/actions/general/action.yml +++ b/actions/general/action.yml @@ -37,6 +37,6 @@ runs: - shell: bash run: | chmod +x yutu-linux-amd64 - echo ${{ inputs.credential }} | base64 --decode > ./client_secret.json - echo ${{ inputs.token }} | base64 --decode > ./youtube.token.json + echo -n ${{ inputs.credential }} | base64 --decode > ./client_secret.json + echo -n ${{ inputs.token }} | base64 --decode > ./youtube.token.json ./yutu-linux-amd64 ${{ inputs.command }} ${{ inputs.subcommand }} ${{ inputs.flags }}