1
0
mirror of synced 2025-12-25 02:17:36 -05:00

use environment files for set-output (#33373)

This commit is contained in:
Robert Sese
2022-12-08 16:25:02 -06:00
committed by GitHub
parent 5c91c070f3
commit aeb5fc0110
2 changed files with 2 additions and 3 deletions

View File

@@ -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

View File

@@ -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"