Create an annotation of the build information and also list first n failed tests as seporate annotations
    - uses: ashley-taylor/[email protected]
      if: always()
      with:
        access-token: ${{ secrets.GITHUB_TOKEN }}
A demonstration is available here https://github.com/ashley-taylor/junit-report-annotations-action-example
On a succesful run will get a summary like
On a failed run will get a image like this

