👔 Echo secrets without newline

This commit is contained in:
chaoqun committed 2024-07-13 14:57:51 +08:00
1 parent d576fa1233
commit 3dac08eb34
1 file changed
+2 -2
+2 -2
View File
@@ -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 }}