Skip to content

Commit

Permalink
Update Radon analysis workflow to set output using GitHub environment…
Browse files Browse the repository at this point in the history
… variable
  • Loading branch information
josephmancuso committed Nov 20, 2024
1 parent e364693 commit fe5a784
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/radon-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -40,5 +40,5 @@ jobs:
header: Radon Cyclomatic Complexity Report
message: |
```console
${{ steps.radon.outputs.radon_output }}
${{ env.radon_output }}
```

0 comments on commit fe5a784

Please sign in to comment.