Skip to content

Commit 3bcd78c

Browse files
committed
Upgrade Java CI workflow to modern GitHub Actions setup.
Move to setup-java v4 with Temurin JDK 11 and Maven cache so CI matches current build requirements and avoids deprecated Node 20 action usage. Made-with: Cursor
1 parent 0da494c commit 3bcd78c

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/maven.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@ jobs:
88
runs-on: ubuntu-latest
99

1010
steps:
11-
- uses: actions/checkout@v1
12-
- name: Set up JDK 1.8
13-
uses: actions/setup-java@v1
11+
- uses: actions/checkout@v4
12+
- name: Set up JDK 11
13+
uses: actions/setup-java@v4
1414
with:
15-
java-version: 1.8
15+
distribution: temurin
16+
java-version: '11'
17+
cache: maven
1618
- name: Install depended jars
1719
run: ./lib_install.sh
1820
- name: Build with Maven

0 commit comments

Comments
 (0)