From aeb5fc0110e3ce8a7d7b80b8df3f367faf7bfc76 Mon Sep 17 00:00:00 2001 From: Robert Sese <734194+rsese@users.noreply.github.com> Date: Thu, 8 Dec 2022 16:25:02 -0600 Subject: [PATCH] use environment files for set-output (#33373) --- .github/workflows/check-broken-links-github-github.yml | 2 +- .github/workflows/msft-create-translation-batch-pr.yml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check-broken-links-github-github.yml b/.github/workflows/check-broken-links-github-github.yml index e1c58351b1..79536e896b 100644 --- a/.github/workflows/check-broken-links-github-github.yml +++ b/.github/workflows/check-broken-links-github-github.yml @@ -92,7 +92,7 @@ jobs: - if: ${{ failure() && env.FREEZE != 'true' }} name: Get title for issue id: check - run: echo "::set-output name=title::$(head -1 broken_github_github_links.md)" + run: echo "title=$(head -1 broken_github_github_links.md)" >> $GITHUB_OUTPUT - if: ${{ failure() && env.FREEZE != 'true'}} name: Create issue from file id: github-github-broken-link-report diff --git a/.github/workflows/msft-create-translation-batch-pr.yml b/.github/workflows/msft-create-translation-batch-pr.yml index 1800ea819a..cb67231820 100644 --- a/.github/workflows/msft-create-translation-batch-pr.yml +++ b/.github/workflows/msft-create-translation-batch-pr.yml @@ -67,8 +67,7 @@ jobs: - name: Set branch name id: set-branch run: | - echo "::set-output name=BRANCH_NAME::msft-translation-batch-${{ matrix.language }}-$(date +%Y-%m-%d__%H-%M)" - + echo "BRANCH_NAME=msft-translation-batch-${{ matrix.language }}-$(date +%Y-%m-%d__%H-%M)" >> $GITHUB_OUTPUT - run: git config --global user.name "docubot" - run: git config --global user.email "67483024+docubot@users.noreply.github.com"