Skip to content

Commit c81c52b

Browse files
committed
[GHA] JDK 21 for VSCode, Eclipse LS extensions
1 parent a73b78e commit c81c52b

7 files changed

+13
-13
lines changed

.github/workflows/build-vscode-extension.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ jobs:
3131
steps:
3232
- name: Checkout vscode-extensions code and workflow scripts
3333
uses: actions/checkout@v4
34-
- name: Set up JDK 17
34+
- name: Set up JDK 21
3535
uses: actions/setup-java@v4
3636
with:
37-
java-version: '17'
37+
java-version: '21'
3838
distribution: 'temurin'
3939
- name: Build .VSIX file
4040
id: build-vsix

.github/workflows/eclipse-ls-extensions-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ jobs:
4646
.github
4747
headless-services
4848
eclipse-language-servers
49-
- name: Set up JDK 17
49+
- name: Set up JDK 21
5050
uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2
5151
with:
52-
java-version: '17'
52+
java-version: '21'
5353
distribution: 'temurin'
5454
- name: Enforce https instead of http
5555
run: ./nohttp.sh

.github/workflows/gh-hosted-eclipse-distro-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
.github
4848
eclipse-distribution
4949
eclipse-extensions
50-
- name: Set up JDK 17
50+
- name: Set up JDK ${{ inputs.java_version }}
5151
uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2
5252
with:
5353
java-version: ${{ inputs.java_version }}

.github/workflows/publish-vscode-extension-pre-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121
steps:
2222
- name: Checkout vscode-extensions code and workflow scripts
2323
uses: actions/checkout@v4
24-
- name: Set up JDK 17
24+
- name: Set up JDK 21
2525
uses: actions/setup-java@v4
2626
with:
27-
java-version: '17'
27+
java-version: '21'
2828
distribution: 'temurin'
2929
- uses: actions/setup-node@v4
3030
with:

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ jobs:
2727
runs-on: ubuntu-latest
2828
name: Publish '${{ inputs.extension-name }}-${{ inputs.version }}-${{ inputs.postfix }}.vsix'
2929
steps:
30-
- name: Use Node.js 20.x
30+
- name: Use Node.js 22.x
3131
uses: actions/setup-node@v3
3232
with:
33-
node-version: 20.x
33+
node-version: 22.x
3434
- name: Download Release VSIX
3535
id: download-release
3636
run: |

.github/workflows/release-vscode-extension.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ jobs:
5454
ref: 'refs/tags/${{ steps.version.outputs.release_name }}',
5555
sha: context.sha
5656
})
57-
- name: Set up JDK 17
57+
- name: Set up JDK 21
5858
uses: actions/setup-java@v4
5959
with:
60-
java-version: '17'
60+
java-version: '21'
6161
distribution: 'temurin'
6262
- uses: actions/setup-node@v4
6363
with:

.github/workflows/snapshot-vscode-extension.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ jobs:
2929
steps:
3030
- name: Checkout vscode-extensions code and workflow scripts
3131
uses: actions/checkout@v4
32-
- name: Set up JDK 17
32+
- name: Set up JDK 21
3333
uses: actions/setup-java@v4
3434
with:
35-
java-version: '17'
35+
java-version: '21'
3636
distribution: 'temurin'
3737
- uses: actions/setup-node@v4
3838
with:

0 commit comments

Comments
 (0)