Skip to content

Commit

Permalink
add more info to summary
Browse files Browse the repository at this point in the history
  • Loading branch information
skylenet committed Jan 9, 2025
1 parent a2b80ff commit c6e8aca
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -192,18 +192,19 @@ runs:
- name: Generate summary
shell: bash
run: |
echo "# 🐝 Summary" >> $GITHUB_STEP_SUMMARY
# Add the command executed
echo "" >> $GITHUB_STEP_SUMMARY
echo "## Command" >> $GITHUB_STEP_SUMMARY
echo "\`\`\`" >> $GITHUB_STEP_SUMMARY
echo "./hive --sim \"${{ inputs.simulator }}\" --client \"${{ inputs.client }}\" --results-root results ${CLIENT_CONFIG_FLAG:-} ${{ inputs.extra_flags }}" >> $GITHUB_STEP_SUMMARY
echo "hive --sim \"${{ inputs.simulator }}\" --client \"${{ inputs.client }}\" --results-root results ${CLIENT_CONFIG_FLAG:-} ${{ inputs.extra_flags }}" >> $GITHUB_STEP_SUMMARY
echo "\`\`\`" >> $GITHUB_STEP_SUMMARY
- name: Generate summary for s3 upload
if: ${{ inputs.s3_upload == 'true' && env.RUN_SUCCESS == 'true' }}
- name: Generate summary for client config
if: ${{ inputs.client_config != '' }}
shell: bash
run: |
echo "" >> $GITHUB_STEP_SUMMARY
echo "## S3 Upload:" >> $GITHUB_STEP_SUMMARY
echo "s3://${{ inputs.s3_bucket }}/${{ inputs.s3_path }}/results" >> $GITHUB_STEP_SUMMARY
echo "## Client config" >> $GITHUB_STEP_SUMMARY
echo "\`\`\`yaml" >> $GITHUB_STEP_SUMMARY
echo "${{ inputs.client_config }}" >> $GITHUB_STEP_SUMMARY
echo "\`\`\`" >> $GITHUB_STEP_SUMMARY

0 comments on commit c6e8aca

Please sign in to comment.