Skip to content

Commit 9d7b6d8

Browse files
committed
simplify
1 parent dc9548f commit 9d7b6d8

File tree

1 file changed

+6
-13
lines changed

1 file changed

+6
-13
lines changed

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

+6-13
Original file line numberDiff line numberDiff line change
@@ -16,45 +16,38 @@
1616
name: "Grails Joint Validation Build"
1717
# GROOVY_2_5_X == Grails 4.0.x
1818
# 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.
2020
on:
2121
push:
2222
branches:
2323
- GROOVY_2_5_X
24-
- GROOVY_3_0_X
25-
# - master
2624
pull_request:
2725
branches:
2826
- GROOVY_2_5_X
29-
- GROOVY_3_0_X
30-
# - master
3127
jobs:
3228
build:
3329
strategy:
3430
fail-fast: true
3531
matrix:
36-
os: [ubuntu-latest]
3732
java: [11]
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: 11
40+
distribution: adopt
4541
- name: env
4642
run: env
4743

4844
# 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' }}
5245
- name: Checkout Grails 4.0.x (4.0.x)
5346
run: cd .. && git clone --depth 1 https://github.com/grails/grails-core.git -b 4.0.x
5447
if: ${{ (github.event_name == 'pull_request' && github.base_ref == 'GROOVY_2_5_X') || github.ref == 'refs/heads/GROOVY_2_5_X' }}
5548

5649
- 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
5851
timeout-minutes: 60
5952

6053
- name: Set CI_GROOVY_VERSION for Grails

0 commit comments

Comments
 (0)