From c857300136e7044f9ad556d343062a2078e58887 Mon Sep 17 00:00:00 2001 From: Marco Maatz Date: Thu, 24 Oct 2024 12:08:10 +0200 Subject: [PATCH] skip when - --- .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 7a13f94..804ed20 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 }}" != "skip" ]; 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 }}"