From 225d481c525467269c7441c37374d85b6884e8b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20N=C3=BCsse?= Date: Sun, 28 Apr 2024 09:55:23 +0200 Subject: [PATCH] properly substitute line breaks --- .github/workflows/translations.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/translations.yml b/.github/workflows/translations.yml index d7cbb3b1..b4dbd2de 100644 --- a/.github/workflows/translations.yml +++ b/.github/workflows/translations.yml @@ -53,6 +53,9 @@ jobs: exit 1 fi TRANSLATIONS=$(./scripts/generateFilelist.sh ${{ github.event.pull_request.commits }} ${{needs.string-change-verification.outputs.files}}) + TRANSLATIONS="${TRANSLATIONS//'%'/'%25'}" + TRANSLATIONS="${TRANSLATIONS//$'\n'/'%0A'}" + TRANSLATIONS="${TRANSLATIONS//$'\r'/'%0D'}" echo "TRANSLATIONS=$TRANSLATIONS" >> $GITHUB_OUTPUT shell: sh - name: Upload Raw Translations