Skip to content

Commit

Permalink
[Fix] Update recce summary output summary
Browse files Browse the repository at this point in the history
Signed-off-by: Kent Huang <[email protected]>
  • Loading branch information
kentwelcome committed Apr 26, 2024
1 parent 5dd9083 commit 197b0c5
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/recce_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,20 @@ jobs:
run: |
recce summary recce_state.json > recce_summary.md
cat recce_summary.md >> $GITHUB_STEP_SUMMARY
echo "${{ env.NEXT_STEP_MESSAGE }}" >> recce_summary.md
echo '${{ env.NEXT_STEP_MESSAGE }}' >> recce_summary.md
env:
ARTIFACT_URL: ${{ steps.recce-artifact-uploader.outputs.artifact-url }}
NEXT_STEP_MESSAGE: |
## Next Steps
Recce `run` successfully completed.
Please download the [artifact](${{ steps.recce-artifact-uploader.outputs.artifact-url }}) for the state file.
If you want to check more detail inforamtion about the recce result,
please download the [artifact](${{ steps.recce-artifact-uploader.outputs.artifact-url }}) file and open it by [Recce](https://pypi.org/project/recce/) CLI.
```bash
# Unzip the downloaded artifact file
tar -xf recce-state-file.zip
# Launch the recce server based on the state file
recce server --review recce_state.json
```
- name: Comment on pull request
uses: thollander/actions-comment-pull-request@v2
Expand Down

0 comments on commit 197b0c5

Please sign in to comment.