Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add job summary #210

Open
benkeil opened this issue Jul 13, 2024 · 1 comment
Open

Add job summary #210

benkeil opened this issue Jul 13, 2024 · 1 comment

Comments

@benkeil
Copy link

benkeil commented Jul 13, 2024

It would nice if the plugin could create a job summary. Like that it's easier to see what the job has done, without digging into the logs.

https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary

@chris3ware
Copy link

chris3ware commented Sep 2, 2024

You can add your own by using the outputs provided by the action:

- name: Summary with release
  if: ${{ steps.release.outputs.new_release_published == 'true' }}
  run: |
    echo "# :white_check_mark: New release published" >> $GITHUB_STEP_SUMMARY
    echo "" >> $GITHUB_STEP_SUMMARY
    echo "Release bumped from v${{ steps.release.outputs.last_release_version }} to v${{ steps.release.outputs.new_release_version }}" >> $GITHUB_STEP_SUMMARY
    echo "" >> $GITHUB_STEP_SUMMARY
    echo "## CHANGELOG" >> $GITHUB_STEP_SUMMARY
    echo ""
    echo "${{ steps.release.outputs.new_release_notes }}" >>$GITHUB_STEP_SUMMARY

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants