Skip to content

Commit

Permalink
Stop using mathiasvr/command-output as set-output is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
cunla committed Nov 8, 2022
1 parent 1411fd9 commit 44ded85
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/actions/test-coverage/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,17 @@ runs:
- name: Coverage report
if: ${{ github.event_name == 'pull_request' }}
id: coverage_report
uses: mathiasvr/command-output@v1
with:
run: |
poetry run coverage report
shell: bash
run: |
REPORT=$(poetry run coverage report)
echo "{report}=${REPORT}" >> $GITHUB_OUTPUT
- uses: mshick/add-pr-comment@v1
if: ${{ github.event_name == 'pull_request' }}
with:
message: |
Coverage report:
```
${{ steps.coverage_report.outputs.stdout }}
${{ steps.coverage_report.outputs.report }}
```
repo-token: ${{ inputs.github-secret }}
repo-token-user-login: 'github-actions[bot]'
Expand Down

0 comments on commit 44ded85

Please sign in to comment.