|
15 | 15 |
|
16 | 16 | name: "Grails Joint Validation Build"
|
17 | 17 | # GROOVY_2_5_X == Grails 4.0.x
|
18 |
| -# GROOVY_3_0_X == Grails master/4.1.x |
19 |
| -# Groovy master branch does not yet map to any due to changed package names. |
| 18 | +# GROOVY_3_0_X == Grails master/4.1+ |
| 19 | +# GROOVY_4_0_X/master branches do not yet map to any Grails version |
20 | 20 | on:
|
21 | 21 | push:
|
22 | 22 | branches:
|
23 |
| - - GROOVY_2_5_X |
24 | 23 | - GROOVY_3_0_X
|
25 | 24 | # - master
|
26 | 25 | pull_request:
|
27 | 26 | branches:
|
28 |
| - - GROOVY_2_5_X |
29 | 27 | - GROOVY_3_0_X
|
30 | 28 | # - master
|
31 | 29 | jobs:
|
32 | 30 | build:
|
33 | 31 | strategy:
|
34 | 32 | fail-fast: false
|
35 |
| - matrix: |
36 |
| - os: [ubuntu-latest] |
37 |
| - java: [11.0.9, 15.0.1] |
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: 15 |
45 | 40 | - name: env
|
46 | 41 | run: env
|
47 | 42 |
|
48 |
| - # 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 |
| 43 | + # Select recent production Grails branch for this build: |
| 44 | + - name: Checkout Grails 6.2.x (master) |
| 45 | + run: cd .. && git clone --depth 1 https://github.com/grails/grails-core.git -b 6.2.x |
51 | 46 | if: ${{ (github.event_name == 'pull_request' && github.base_ref == 'GROOVY_3_0_X') || github.ref == 'refs/heads/GROOVY_3_0_X' }}
|
52 |
| - - name: Checkout Grails 4.0.x (4.0.x) |
53 |
| - run: cd .. && git clone --depth 1 https://github.com/grails/grails-core.git -b 4.0.x |
54 |
| - if: ${{ (github.event_name == 'pull_request' && github.base_ref == 'GROOVY_2_5_X') || github.ref == 'refs/heads/GROOVY_2_5_X' }} |
55 | 47 |
|
56 | 48 | - 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 |
| 49 | + 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 | 50 | timeout-minutes: 60
|
59 | 51 |
|
60 | 52 | - name: Set CI_GROOVY_VERSION for Grails
|
|
0 commit comments