@@ -8,64 +8,9 @@ concurrency:
88
99jobs :
1010 build :
11- runs-on : ubuntu-latest
12- steps :
13- - uses : actions/checkout@v3
14-
15- - name : Set up JDK 11 for running Gradle
16- uses : actions/setup-java@v2
17- with :
18- distribution : adopt
19- java-version : 11
20-
21- - name : Start deadlock detector
22- run : .github/scripts/deadlock-detector.sh
23-
24- - name : Build
25- uses : gradle/gradle-build-action@v2
26- with :
27- # javadoc task fails sporadically fetching https://docs.oracle.com/javase/8/docs/api/
28- arguments : build -x javadoc
29- cache-read-only : true
30-
31- - name : Upload deadlock detector artifacts if any
32- if : always()
33- uses : actions/upload-artifact@v2
34- with :
35- name : deadlock-detector-build
36- path : /tmp/deadlock-detector-*
37- if-no-files-found : ignore
38-
39- - name : Upload jvm crash dump files if any
40- if : always()
41- uses : actions/upload-artifact@v2
42- with :
43- name : javacore-build
44- path : |
45- "**/hs_err_pid*.log"
46- "**/javacore.*.txt"
47- "**/Snap.*.trc"
48- "**/core.*.dmp"
49- "**/jitdump.*.dmp"
50- if-no-files-found : ignore
51-
52- build-gradle-plugins :
53- runs-on : ubuntu-latest
54- steps :
55- - uses : actions/checkout@v3
56-
57- - name : Set up JDK 11 for running Gradle
58- uses : actions/setup-java@v2
59- with :
60- distribution : adopt
61- java-version : 11
62-
63- - name : Build
64- uses : gradle/gradle-build-action@v2
65- with :
66- cache-read-only : true
67- arguments : build
68- build-root-directory : gradle-plugins
11+ uses : ./.github/workflows/build.yml
12+ with :
13+ cache-read-only : true
6914
7015 test :
7116 uses : ./.github/workflows/test.yml
12570 ./bin/misspell -error ./**/*
12671
12772 accept-pr :
128- needs : [ build, build-gradle-plugins, test, smoke-test, muzzle, examples, markdown-misspell-check ]
73+ needs : [ build, test, smoke-test, muzzle, examples, markdown-misspell-check ]
12974 runs-on : ubuntu-latest
13075 if : always()
13176 steps :
0 commit comments