Skip to content

Commit

Permalink
Enable add-job-summary-as-pr-comment for failed jobs (facebook#45479)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: facebook#45479

This just prints a summary on PRs if the Gradle task fails so it's easier to jump directly
to the failure.

Changelog:
[Internal] [Changed] - Enable add-job-summary-as-pr-comment for failed jobs

Reviewed By: cipolleschi

Differential Revision: D59812845

fbshipit-source-id: 2069a1c8db7d264ca1af3c1182fa443cb0a69646
  • Loading branch information
cortinico authored and facebook-github-bot committed Jul 16, 2024
1 parent c47b04b commit fb9ce76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/actions/setup-gradle/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ runs:
cache-write-only: ${{ (github.ref == 'refs/heads/main' || contains(github.ref, '-stable')) && inputs.cache-read-only != 'true' }}
# Temporarily disabling to try resolve a cache cleanup failure
# gradle-home-cache-cleanup: true
add-job-summary-as-pr-comment: on-failure

0 comments on commit fb9ce76

Please sign in to comment.