Print thread dumps when PR build is cancelled

Closes gh-35760
This commit is contained in:
Andy Wilkinson
2023-06-06 18:26:28 +01:00
parent 4eda5bd36f
commit be72e482ac
2 changed files with 18 additions and 0 deletions

View File

@@ -30,3 +30,7 @@ jobs:
CI: 'true'
GRADLE_ENTERPRISE_URL: 'https://ge.spring.io'
run: ./gradlew -Dorg.gradle.internal.launcher.welcomeMessageEnabled=false --no-daemon --max-workers=4 --continue build
- name: Print JVM thread dumps when cancelled
uses: ./.github/actions/print-jvm-thread-dumps
if: cancelled()