Skip to content

Commit c737d5d

Browse files
committed
Add Java 21 setup to github actions
1 parent b1c5bb5 commit c737d5d

File tree

5 files changed

+35
-0
lines changed

5 files changed

+35
-0
lines changed

.github/workflows/archive-vscode-artifacts.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ jobs:
1919
- name: Setup antlr4
2020
uses: ./.github/actions/setup-antlr4
2121

22+
- uses: actions/setup-java@v4
23+
with:
24+
distribution: 'temurin'
25+
java-version: '21'
26+
2227
- name: Install dependencies with frozen lock file and generate parser
2328
run: npm ci
2429

.github/workflows/benchmark.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ jobs:
1616
- name: Setup antlr4
1717
uses: ./.github/actions/setup-antlr4
1818

19+
- uses: actions/setup-java@v4
20+
with:
21+
distribution: 'temurin'
22+
java-version: '21'
23+
1924
- name: Install dependencies with frozen lock file and generate parser
2025
run: npm ci
2126

.github/workflows/ci.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ jobs:
2020
- name: Setup antlr4
2121
uses: ./.github/actions/setup-antlr4
2222

23+
- uses: actions/setup-java@v4
24+
with:
25+
distribution: 'temurin'
26+
java-version: '21'
27+
2328
- name: Install dependencies with frozen lock file and generate parser
2429
run: npm ci
2530

@@ -45,6 +50,11 @@ jobs:
4550
- name: Setup antlr4
4651
uses: ./.github/actions/setup-antlr4
4752

53+
- uses: actions/setup-java@v4
54+
with:
55+
distribution: 'temurin'
56+
java-version: '21'
57+
4858
- name: Install dependencies with frozen lock file and generate parser
4959
run: npm ci
5060

@@ -63,6 +73,11 @@ jobs:
6373
- name: Setup antlr4
6474
uses: ./.github/actions/setup-antlr4
6575

76+
- uses: actions/setup-java@v4
77+
with:
78+
distribution: 'temurin'
79+
java-version: '21'
80+
6681
- name: Install dependencies
6782
run: npm ci
6883

.github/workflows/deploy-demo.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ jobs:
3939
- name: Setup antlr4
4040
uses: ./.github/actions/setup-antlr4
4141

42+
- uses: actions/setup-java@v4
43+
with:
44+
distribution: 'temurin'
45+
java-version: '21'
46+
4247
- name: Install dependencies with frozen lock file and generate parser
4348
run: npm ci
4449

.github/workflows/publish-vscode-extension.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ jobs:
2727
- name: Setup antlr4
2828
uses: ./.github/actions/setup-antlr4
2929

30+
- uses: actions/setup-java@v4
31+
with:
32+
distribution: 'temurin'
33+
java-version: '21'
34+
3035
- name: Install dependencies with frozen lock file
3136
run: npm ci
3237

0 commit comments

Comments
 (0)