From c817adcc176e05582cff58d0ccb61d420e6404e7 Mon Sep 17 00:00:00 2001 From: Markus Weigelt Date: Thu, 14 Dec 2023 16:56:15 +0100 Subject: [PATCH] Update test-ci.yml --- .github/workflows/test-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test-ci.yml b/.github/workflows/test-ci.yml index dc902f7..07141fd 100644 --- a/.github/workflows/test-ci.yml +++ b/.github/workflows/test-ci.yml @@ -26,8 +26,8 @@ jobs: # Rename example .env file mv .env.example .env - # Remove empty lines - sed -i /^$/d .env + # Remove carriage returns in file + sed -i 's/\r$//' .env # Set environment variables from .env file set -a; source .env; set +a @@ -38,8 +38,8 @@ jobs: mkdir -p ./ocrd/controller/.ssh/ ./ocrd/controller/models wget -O .env.ocrd-controller https://raw.githubusercontent.com/slub/ocrd_controller/master/.env.example - # Remove empty lines - sed -i /^$/d .env.ocrd-controller + # Remove carriage returns in file + sed -i 's/\r$//' .env.ocrd-controller # Set environment variables from .env.ocrd-controller file set -a; source .env.ocrd-controller; set +a