File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 22
22
pip install -r requirements.txt
23
23
- name : Install Recce
24
24
run : |
25
- pip install recce-nightly==0.15 .0.20240426a389
25
+ pip install recce-nightly==0.17 .0.20240508a0
26
26
- name : Add packages.yml file
27
27
run : |
28
28
echo '${{ vars.PACKAGES_YAML }}' > packages.yml
73
73
recce summary recce_state.json > recce_summary.md
74
74
cat recce_summary.md >> $GITHUB_STEP_SUMMARY
75
75
echo '${{ env.NEXT_STEP_MESSAGE }}' >> recce_summary.md
76
+
77
+ # Handle the case when the recce summary is too long to be displayed in the GitHub PR comment
78
+ if [[ `wc -c recce_summary.md | awk '{print $1}'` -ge '65535' ]]; then
79
+ echo '# Recce Summary
80
+ The recce summary is too long to be displayed in the GitHub PR comment.
81
+ Please check the summary detail in the [Job Summary](${{github.server_url}}/${{github.repository}}/actions/runs/${{github.run_id}}) page.
82
+ ${{ env.NEXT_STEP_MESSAGE }}' > recce_summary.md
83
+ fi
84
+
76
85
env :
77
86
ARTIFACT_URL : ${{ steps.recce-artifact-uploader.outputs.artifact-url }}
78
87
NEXT_STEP_MESSAGE : |
You can’t perform that action at this time.
0 commit comments