Skip to content

Commit 409cfe8

Browse files
committed
use more recent grails version
1 parent d9fbe95 commit 409cfe8

File tree

1 file changed

+9
-17
lines changed

1 file changed

+9
-17
lines changed

.github/workflows/grails-joint-validation.yml

+9-17
Original file line numberDiff line numberDiff line change
@@ -15,46 +15,38 @@
1515

1616
name: "Grails Joint Validation Build"
1717
# 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
2020
on:
2121
push:
2222
branches:
23-
- GROOVY_2_5_X
2423
- GROOVY_3_0_X
2524
# - master
2625
pull_request:
2726
branches:
28-
- GROOVY_2_5_X
2927
- GROOVY_3_0_X
3028
# - master
3129
jobs:
3230
build:
3331
strategy:
3432
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
3934
steps:
4035
- uses: actions/checkout@v1
4136
- name: Set up JDK
42-
uses: actions/setup-java@v1
37+
uses: actions/setup-java@v3
4338
with:
44-
java-version: ${{ matrix.java }}
39+
java-version: 15
4540
- name: env
4641
run: env
4742

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
5146
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' }}
5547

5648
- 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
5850
timeout-minutes: 60
5951

6052
- name: Set CI_GROOVY_VERSION for Grails

0 commit comments

Comments
 (0)