Skip to content

Commit 74075b6

Browse files
authored
Fix GA/EA action (#766)
Also add maven cache --------- Signed-off-by: Josiah Noel <32279667+SentryMan@users.noreply.github.com>
1 parent a5bd97e commit 74075b6

File tree

2 files changed

+21
-9
lines changed

2 files changed

+21
-9
lines changed

.github/workflows/build-EA.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
os-name: [ubuntu-latest]
2525
java-version:
2626
- GA # Latest GA JDK
27-
- EA # Current Mainline
27+
# - EA # Current Mainline (lombok doesn't yet support)
2828
include:
2929
- os-name: macos-latest
3030
java-version: GA
@@ -41,8 +41,17 @@ jobs:
4141
uses: oracle-actions/setup-java@v1
4242
with:
4343
website: jdk.java.net
44-
release: ${{ matrix.java_version }}
45-
44+
release: ${{ matrix.java-version }}
45+
46+
- name: Maven cache
47+
uses: actions/cache@v4
48+
env:
49+
cache-name: maven-cache
50+
with:
51+
path:
52+
~/.m2
53+
key: build-${{ env.cache-name }}
54+
4655
- name: Compile and run tests
4756
shell: bash
4857
run: ./mvnw -B -U clean verify

.github/workflows/build.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,6 @@ jobs:
2626
- 11 # LTS
2727
- 17 # LTS
2828
- 21 # LTS
29-
include:
30-
- os-name: macos-latest
31-
java-version: 23
32-
- os-name: windows-latest
33-
java-version: 23
34-
3529
steps:
3630
- name: Checkout repository
3731
uses: actions/checkout@v4
@@ -45,6 +39,15 @@ jobs:
4539
distribution: zulu
4640
java-version: ${{ matrix.java-version }}
4741

42+
- name: Maven cache
43+
uses: actions/cache@v4
44+
env:
45+
cache-name: maven-cache
46+
with:
47+
path:
48+
~/.m2
49+
key: build-${{ env.cache-name }}
50+
4851
- name: Compile and run tests
4952
shell: bash
5053
run: ./mvnw -B -U clean verify

0 commit comments

Comments
 (0)