BUILD-2950 Use GITHUB_OUTPUT instead of deprecated set-output

This commit is contained in:
Sebastien Vermeille 2023-05-11 14:51:10 +00:00 committed by GitHub
parent 11dc4e5cc4
commit 5437c58656
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,9 +38,9 @@ jobs:
pipenv run rspec-tools update-coverage --rulesdir ../rules
mv ./covered_rules.json ../frontend/public/covered_rules.json
if git diff --exit-code ../frontend/public/covered_rules.json; then
echo "::set-output name=new_coverage::false"
echo "new_coverage=false" >> "$GITHUB_OUTPUT"
else
echo "::set-output name=new_coverage::true"
echo "new_coverage=true" >> "$GITHUB_OUTPUT"
fi
- name: 'Cancel if coverage did not change'