Fix github actions deprecations warnings (#25096)
This commit is contained in:
parent
a1176ce66d
commit
38dbd66474
1 changed files with 6 additions and 6 deletions
|
@ -43,11 +43,11 @@ jobs:
|
||||||
|
|
||||||
# If either a reviewer matches a team member, or a team matches our team, say "true"
|
# If either a reviewer matches a team member, or a team matches our team, say "true"
|
||||||
if [ $(join /tmp/team_members.txt /tmp/reviewers.txt | wc -l) != 0 ]; then
|
if [ $(join /tmp/team_members.txt /tmp/reviewers.txt | wc -l) != 0 ]; then
|
||||||
echo "::set-output name=match::true"
|
echo "match=true" >> $GITHUB_OUTPUT
|
||||||
elif [ $(join /tmp/team.txt /tmp/team_reviewers.txt | wc -l) != 0 ]; then
|
elif [ $(join /tmp/team.txt /tmp/team_reviewers.txt | wc -l) != 0 ]; then
|
||||||
echo "::set-output name=match::true"
|
echo "match=true" >> $GITHUB_OUTPUT
|
||||||
else
|
else
|
||||||
echo "::set-output name=match::false"
|
echo "match=false" >> $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
env:
|
env:
|
||||||
TEAM: "design"
|
TEAM: "design"
|
||||||
|
@ -110,11 +110,11 @@ jobs:
|
||||||
|
|
||||||
# If either a reviewer matches a team member, or a team matches our team, say "true"
|
# If either a reviewer matches a team member, or a team matches our team, say "true"
|
||||||
if [ $(join /tmp/team_members.txt /tmp/reviewers.txt | wc -l) != 0 ]; then
|
if [ $(join /tmp/team_members.txt /tmp/reviewers.txt | wc -l) != 0 ]; then
|
||||||
echo "::set-output name=match::true"
|
echo "match=true" >> $GITHUB_OUTPUT
|
||||||
elif [ $(join /tmp/team.txt /tmp/team_reviewers.txt | wc -l) != 0 ]; then
|
elif [ $(join /tmp/team.txt /tmp/team_reviewers.txt | wc -l) != 0 ]; then
|
||||||
echo "::set-output name=match::true"
|
echo "match=true" >> $GITHUB_OUTPUT
|
||||||
else
|
else
|
||||||
echo "::set-output name=match::false"
|
echo "match=false" >> $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
env:
|
env:
|
||||||
TEAM: "product"
|
TEAM: "product"
|
||||||
|
|
Loading…
Reference in a new issue