From 3411a577d997efa83db390fedca1c597baaf0d57 Mon Sep 17 00:00:00 2001 From: Arthur Araujo Date: Tue, 31 Dec 2024 10:40:39 -0300 Subject: [PATCH] Update set-output command --- .github/workflows/localization-report.yml | 4 ++-- .github/workflows/update-missing-translations.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/localization-report.yml b/.github/workflows/localization-report.yml index c459eab54..cddaad4b3 100644 --- a/.github/workflows/localization-report.yml +++ b/.github/workflows/localization-report.yml @@ -35,8 +35,8 @@ jobs: body=$(cat comparison.md) body="${body//'%'/'%25'}" body="${body//$'\n'/'%0A'}" - body="${body//$'\r'/'%0D'}" - echo ::set-output name=log::$body + body="${body//$'\r'/'%0D'}" + echo "log=$body" >> $GITHUB_OUTPUT - uses: tibdex/github-app-token@v1 id: generate-token with: diff --git a/.github/workflows/update-missing-translations.yml b/.github/workflows/update-missing-translations.yml index f659fa364..771aec93f 100644 --- a/.github/workflows/update-missing-translations.yml +++ b/.github/workflows/update-missing-translations.yml @@ -23,8 +23,8 @@ jobs: body=$(cat missing.md) body="${body//'%'/'%25'}" body="${body//$'\n'/'%0A'}" - body="${body//$'\r'/'%0D'}" - echo ::set-output name=body::$body + body="${body//$'\r'/'%0D'}" + echo "body=$body" >> $GITHUB_OUTPUT - name: Update comment uses: peter-evans/create-or-update-comment@v1 with: