use environment files for set-output (#33373)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user