From fe5a784b574bd86feb253698c37a576c7d026104 Mon Sep 17 00:00:00 2001 From: Joe Mancuso Date: Wed, 20 Nov 2024 18:29:19 -0500 Subject: [PATCH] Update Radon analysis workflow to set output using GitHub environment variable --- .github/workflows/radon-analysis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/radon-analysis.yml b/.github/workflows/radon-analysis.yml index 7d6ec474..a347026f 100644 --- a/.github/workflows/radon-analysis.yml +++ b/.github/workflows/radon-analysis.yml @@ -30,7 +30,7 @@ jobs: radon cc -s -a src/masoniteorm/collection > radon_output.txt output=$(cat radon_output.txt) echo "$output" - echo "::set-output name=radon_output::$output" + echo "radon_output=$output" >> $GITHUB_ENV - name: Comment on Pull Request if: github.event_name == 'pull_request' @@ -40,5 +40,5 @@ jobs: header: Radon Cyclomatic Complexity Report message: | ```console - ${{ steps.radon.outputs.radon_output }} + ${{ env.radon_output }} ```