File tree 1 file changed +6
-13
lines changed
1 file changed +6
-13
lines changed Original file line number Diff line number Diff line change 16
16
name : " Grails Joint Validation Build"
17
17
# GROOVY_2_5_X == Grails 4.0.x
18
18
# GROOVY_3_0_X == grails master
19
- # Groovy master branch does not map to any due to changed package names .
19
+ # GROOVY_4_0_X/ master branches do not currently map to any Grails version .
20
20
on :
21
21
push :
22
22
branches :
23
23
- GROOVY_2_5_X
24
- - GROOVY_3_0_X
25
- # - master
26
24
pull_request :
27
25
branches :
28
26
- GROOVY_2_5_X
29
- - GROOVY_3_0_X
30
- # - master
31
27
jobs :
32
28
build :
33
29
strategy :
34
30
fail-fast : true
35
31
matrix :
36
- os : [ubuntu-latest]
37
32
java : [11]
38
- runs-on : ${{ matrix.os }}
33
+ runs-on : ubuntu-latest
39
34
steps :
40
35
- uses : actions/checkout@v1
41
36
- name : Set up JDK
42
- uses : actions/setup-java@v1
37
+ uses : actions/setup-java@v3
43
38
with :
44
- java-version : ${{ matrix.java }}
39
+ java-version : 11
40
+ distribution : adopt
45
41
- name : env
46
42
run : env
47
43
48
44
# Select correct Grails branch for this build:
49
- - name : Checkout Grails 4.1.x (master)
50
- run : cd .. && git clone --depth 1 https://github.com/grails/grails-core.git -b master
51
- if : ${{ (github.event_name == 'pull_request' && github.base_ref == 'GROOVY_3_0_X') || github.ref == 'refs/heads/GROOVY_3_0_X' }}
52
45
- name : Checkout Grails 4.0.x (4.0.x)
53
46
run : cd .. && git clone --depth 1 https://github.com/grails/grails-core.git -b 4.0.x
54
47
if : ${{ (github.event_name == 'pull_request' && github.base_ref == 'GROOVY_2_5_X') || github.ref == 'refs/heads/GROOVY_2_5_X' }}
55
48
56
49
- name : Build and install groovy (no docs)
57
- run : ./gradlew clean install -x groovydoc -x javadoc -x javadocAll -x groovydocAll -x asciidoc -x docGDK --no-build-cache --no-scan --no-daemon
50
+ run : ./gradlew clean install -x groovydoc -x javadoc -x javadocAll -x groovydocAll -x asciidoc -x asciidocAll -x docGDK --no-build-cache --no-scan --no-daemon
58
51
timeout-minutes : 60
59
52
60
53
- name : Set CI_GROOVY_VERSION for Grails
You can’t perform that action at this time.
0 commit comments