From ebbad63547673de9ec652b77de48d4d4682c9131 Mon Sep 17 00:00:00 2001 From: Marco Maatz Date: Thu, 24 Oct 2024 11:05:20 +0200 Subject: [PATCH] newline fix --- .gitea/workflows/uploadArtifactWithFtp.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/uploadArtifactWithFtp.yaml b/.gitea/workflows/uploadArtifactWithFtp.yaml index b99f90d..3ef23f6 100644 --- a/.gitea/workflows/uploadArtifactWithFtp.yaml +++ b/.gitea/workflows/uploadArtifactWithFtp.yaml @@ -44,7 +44,7 @@ jobs: echo "Uploading finished $upload_name" echo "TXT Filename is ${{ inputs.txtFileName }}" - if [ "${{ inputs.txtFileName }}" != "" ]; then + if [ "${{ inputs.txtFileName }}" != "" ]; then echo "Uploading additional Text File ${{ inputs.txtFileName }}" printf "%b" "${{ inputs.txtFileContent }}" > ${{ inputs.txtFileName }} curl -T ./${{ inputs.txtFileName }} ${{ vars.FTP_SERVER_URL }}${{ inputs.ftpPath }} --user "${{ vars.FTP_USER }}:${{ vars.FTP_PASSWORD }}"