Skip to content

Commit 8a335ac

Browse files
Jose AngelJose Angel
authored andcommitted
fix(ci): add Java 21 setup to workflow
1 parent 6fed501 commit 8a335ac

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

.github/workflows/java.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,14 @@ jobs:
1313
- name: Checkout code
1414
uses: actions/checkout@v4
1515

16-
- name: Install ANTLR4 and Maven
17-
run: |
18-
sudo apt-get update
19-
sudo apt-get install -y maven
20-
make dev
16+
- name: Set up Java 21
17+
uses: actions/setup-java@v4
18+
with:
19+
distribution: 'temurin'
20+
java-version: '21'
21+
22+
- name: Install ANTLR4
23+
run: make dev
2124

2225
- name: Import GPG key
2326
uses: crazy-max/ghaction-import-gpg@v6

0 commit comments

Comments
 (0)