DBZ-5824 refactor GitHub Actions deprecated set-output command
This commit is contained in:
parent
a68649cece
commit
1ed3a46ea6
2
.github/workflows/contributor-check.yml
vendored
2
.github/workflows/contributor-check.yml
vendored
@ -29,7 +29,7 @@ jobs:
|
|||||||
if ! grep -qi "$AUTHOR" COPYRIGHT.txt; then
|
if ! grep -qi "$AUTHOR" COPYRIGHT.txt; then
|
||||||
if ! grep -qi "$AUTHOR" ALIASES.txt; then
|
if ! grep -qi "$AUTHOR" ALIASES.txt; then
|
||||||
if ! grep -qi "$AUTHOR" FILTEREDNAMES.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
|
fi
|
||||||
fi
|
fi
|
||||||
|
2
.github/workflows/octocat-commits-check.yml
vendored
2
.github/workflows/octocat-commits-check.yml
vendored
@ -22,7 +22,7 @@ jobs:
|
|||||||
while IFS=" " read -r AUTHOR;
|
while IFS=" " read -r AUTHOR;
|
||||||
do
|
do
|
||||||
if [[ $AUTHOR == *"null"* ]]; then
|
if [[ $AUTHOR == *"null"* ]]; then
|
||||||
echo "::set-output name=OCTOCAT_COMMIT_FOUND::true"
|
echo "name=OCTOCAT_COMMIT_FOUND::true" >> $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
done < SORTED_AUTHORS.txt
|
done < SORTED_AUTHORS.txt
|
||||||
- name: Create comment
|
- name: Create comment
|
||||||
|
2
.github/workflows/oracle-workflow-test.yml
vendored
2
.github/workflows/oracle-workflow-test.yml
vendored
@ -29,7 +29,7 @@ jobs:
|
|||||||
- name: Get Date
|
- name: Get Date
|
||||||
id: get-date
|
id: get-date
|
||||||
run: |
|
run: |
|
||||||
echo "::set-output name=date::$(/bin/date -u "+%Y-%m")"
|
echo "name=date::$(/bin/date -u "+%Y-%m")" >> $GITHUB_OUTPUT
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Set up Java 17
|
- name: Set up Java 17
|
||||||
|
2
.github/workflows/sanity-check.yml
vendored
2
.github/workflows/sanity-check.yml
vendored
@ -35,7 +35,7 @@ jobs:
|
|||||||
echo " COMMIT MESSAGES WITH MISSING \"DBZ\" PREFIX"
|
echo " COMMIT MESSAGES WITH MISSING \"DBZ\" PREFIX"
|
||||||
echo "========================================================================"
|
echo "========================================================================"
|
||||||
echo -e "$NON_PREFIX_COMMITS"
|
echo -e "$NON_PREFIX_COMMITS"
|
||||||
echo "::set-output name=PREFIX::false"
|
echo "name=PREFIX::false" >> $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
- name: Create Comment
|
- name: Create Comment
|
||||||
if: ${{ steps.check.outputs.PREFIX == 'false' }}
|
if: ${{ steps.check.outputs.PREFIX == 'false' }}
|
||||||
|
Loading…
Reference in New Issue
Block a user