Skip to content

Commit 58c7b60

Browse files
committed
fix: remove deprecated method of setting outputs
1 parent 3c12f11 commit 58c7b60

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

action.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,12 @@ runs:
9696
TOTAL_INFO=$(jq 'map(select(.severity == "info")) | length' codeclimate-report.json)
9797
9898
# Set outputs
99-
echo "::set-output name=total::$TOTAL_ISSUES"
100-
echo "::set-output name=info::$TOTAL_INFO"
101-
echo "::set-output name=minor::$TOTAL_MINOR"
102-
echo "::set-output name=major::$TOTAL_MAJOR"
103-
echo "::set-output name=critical::$TOTAL_CRITICAL"
104-
echo "::set-output name=blocker::$TOTAL_BLOCKER"
99+
echo "total=$TOTAL_ISSUES" >> $GITHUB_OUTPUT
100+
echo "info=$TOTAL_INFO" >> $GITHUB_OUTPUT
101+
echo "minor=$TOTAL_MINOR" >> $GITHUB_OUTPUT
102+
echo "major=$TOTAL_MAJOR" >> $GITHUB_OUTPUT
103+
echo "critical=$TOTAL_CRITICAL" >> $GITHUB_OUTPUT
104+
echo "blocker=$TOTAL_BLOCKER" >> $GITHUB_OUTPUT
105105
106106
# Second run purely to get the readable HTML report. The second run is much faster than the first
107107
# as it does not need to redownload the images already pulled by the first run

0 commit comments

Comments
 (0)