Skip to content

Commit 66252d7

Browse files
committed
[Feature] DRC-389 Setup recce ci with summary command
Signed-off-by: Kent Huang <[email protected]>
1 parent 9250ad7 commit 66252d7

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

.github/workflows/recce_ci.yml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
pip install -r requirements.txt
2323
- name: Install Recce
2424
run: |
25-
pip install recce
25+
pip install recce-nightly==0.15.0.20240426a389
2626
- name: Add packages.yml file
2727
run: |
2828
echo '${{ vars.PACKAGES_YAML }}' > packages.yml
@@ -67,11 +67,20 @@ jobs:
6767
name: recce-state-file
6868
path: recce_state.json
6969

70+
- name: Prepare Recce Summary
71+
id: recce-summary
72+
run: |
73+
recce summary --state-file recce_state.json > recce_summary.md
74+
cat recce_summary.md >> $GITHUB_STEP_SUMMARY
75+
echo "${{ env.NEXT_STEP_MESSAGE }}" >> recce_summary.md
76+
env:
77+
ARTIFACT_URL: ${{ steps.recce-artifact-uploader.outputs.artifact-url }}
78+
NEXT_STEP_MESSAGE: |
79+
## Next Steps
80+
Recce `run` successfully completed.
81+
Please download the [artifact](${{ steps.recce-artifact-uploader.outputs.artifact-url }}) for the state file.
82+
7083
- name: Comment on pull request
7184
uses: thollander/actions-comment-pull-request@v2
7285
with:
73-
message: |
74-
Recce `run` successfully completed.
75-
Please download the [artifact](${{ env.ARTIFACT_URL }}) for the state file.
76-
env:
77-
ARTIFACT_URL: ${{ steps.recce-artifact-uploader.outputs.artifact-url }}
86+
filePath: recce_summary.md

0 commit comments

Comments
 (0)