DBZ-5824 refactor GitHub Actions deprecated set-output command

This commit is contained in:
Mark Lambert 2022-11-10 08:17:20 -05:00 committed by Chris Cranford
parent a68649cece
commit 1ed3a46ea6
4 changed files with 4 additions and 4 deletions

View File

@ -29,7 +29,7 @@ jobs:
if ! grep -qi "$AUTHOR" COPYRIGHT.txt; then
if ! grep -qi "$AUTHOR" ALIASES.txt; then
if ! grep -qi "$AUTHOR" FILTEREDNAMES.txt; then
echo "::set-output name=NOT_FOUND::true"
echo "name=NOT_FOUND::true" >> $GITHUB_OUTPUT
fi
fi
fi

View File

@ -22,7 +22,7 @@ jobs:
while IFS=" " read -r AUTHOR;
do
if [[ $AUTHOR == *"null"* ]]; then
echo "::set-output name=OCTOCAT_COMMIT_FOUND::true"
echo "name=OCTOCAT_COMMIT_FOUND::true" >> $GITHUB_OUTPUT
fi
done < SORTED_AUTHORS.txt
- name: Create comment

View File

@ -29,7 +29,7 @@ jobs:
- name: Get Date
id: get-date
run: |
echo "::set-output name=date::$(/bin/date -u "+%Y-%m")"
echo "name=date::$(/bin/date -u "+%Y-%m")" >> $GITHUB_OUTPUT
shell: bash
- name: Set up Java 17

View File

@ -35,7 +35,7 @@ jobs:
echo " COMMIT MESSAGES WITH MISSING \"DBZ\" PREFIX"
echo "========================================================================"
echo -e "$NON_PREFIX_COMMITS"
echo "::set-output name=PREFIX::false"
echo "name=PREFIX::false" >> $GITHUB_OUTPUT
fi
- name: Create Comment
if: ${{ steps.check.outputs.PREFIX == 'false' }}