File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
actions/print-jvm-thread-dumps Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -3,12 +3,12 @@ description: Prints a thread dump for all running JVMs
3
3
runs :
4
4
using : composite
5
5
steps :
6
- - run : |
6
+ - shell : bash
7
+ run : |
7
8
for java_pid in $(jps -q -J-XX:+PerfDisableSharedMem); do
8
9
echo "------------------------ pid $java_pid ------------------------"
9
10
cat /proc/$java_pid/cmdline | xargs -0 echo
10
11
jcmd $java_pid Thread.print -l
11
12
jcmd $java_pid GC.heap_info
12
13
done
13
- exit 0
14
- shell: bash
14
+ exit 0
Original file line number Diff line number Diff line change 44
44
GRADLE_ENTERPRISE_CACHE_USERNAME : ${{ secrets.GRADLE_ENTERPRISE_CACHE_USER }}
45
45
GRADLE_ENTERPRISE_CACHE_PASSWORD : ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }}
46
46
run : ./gradlew build
47
+ - name : Print JVM thread dumps when cancelled
48
+ uses : ./.github/actions/print-jvm-thread-dumps
49
+ if : cancelled()
47
50
- name : Send notification
48
51
uses : ./.github/actions/send-notification
49
52
if : always()
You can’t perform that action at this time.
0 commit comments