From c81c52be7c0244437e6f4b8495f5508a848764f3 Mon Sep 17 00:00:00 2001 From: aboyko Date: Tue, 19 Nov 2024 13:52:27 -0500 Subject: [PATCH] [GHA] JDK 21 for VSCode, Eclipse LS extensions --- .github/workflows/build-vscode-extension.yml | 4 ++-- .github/workflows/eclipse-ls-extensions-build.yml | 4 ++-- .github/workflows/gh-hosted-eclipse-distro-build.yml | 2 +- .github/workflows/publish-vscode-extension-pre-release.yml | 4 ++-- .github/workflows/publish-vscode-extension.yml | 4 ++-- .github/workflows/release-vscode-extension.yml | 4 ++-- .github/workflows/snapshot-vscode-extension.yml | 4 ++-- 7 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build-vscode-extension.yml b/.github/workflows/build-vscode-extension.yml index 13ea543d6c..ccc8338bbb 100644 --- a/.github/workflows/build-vscode-extension.yml +++ b/.github/workflows/build-vscode-extension.yml @@ -31,10 +31,10 @@ jobs: steps: - name: Checkout vscode-extensions code and workflow scripts uses: actions/checkout@v4 - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v4 with: - java-version: '17' + java-version: '21' distribution: 'temurin' - name: Build .VSIX file id: build-vsix diff --git a/.github/workflows/eclipse-ls-extensions-build.yml b/.github/workflows/eclipse-ls-extensions-build.yml index 6dc6834109..0f1781419f 100644 --- a/.github/workflows/eclipse-ls-extensions-build.yml +++ b/.github/workflows/eclipse-ls-extensions-build.yml @@ -46,10 +46,10 @@ jobs: .github headless-services eclipse-language-servers - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 with: - java-version: '17' + java-version: '21' distribution: 'temurin' - name: Enforce https instead of http run: ./nohttp.sh diff --git a/.github/workflows/gh-hosted-eclipse-distro-build.yml b/.github/workflows/gh-hosted-eclipse-distro-build.yml index bbd3efbf90..d895b86c45 100644 --- a/.github/workflows/gh-hosted-eclipse-distro-build.yml +++ b/.github/workflows/gh-hosted-eclipse-distro-build.yml @@ -47,7 +47,7 @@ jobs: .github eclipse-distribution eclipse-extensions - - name: Set up JDK 17 + - name: Set up JDK ${{ inputs.java_version }} uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 with: java-version: ${{ inputs.java_version }} diff --git a/.github/workflows/publish-vscode-extension-pre-release.yml b/.github/workflows/publish-vscode-extension-pre-release.yml index 3b4323de41..a6b2996845 100644 --- a/.github/workflows/publish-vscode-extension-pre-release.yml +++ b/.github/workflows/publish-vscode-extension-pre-release.yml @@ -21,10 +21,10 @@ jobs: steps: - name: Checkout vscode-extensions code and workflow scripts uses: actions/checkout@v4 - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v4 with: - java-version: '17' + java-version: '21' distribution: 'temurin' - uses: actions/setup-node@v4 with: diff --git a/.github/workflows/publish-vscode-extension.yml b/.github/workflows/publish-vscode-extension.yml index 0f790189f4..e2dea7a9fb 100644 --- a/.github/workflows/publish-vscode-extension.yml +++ b/.github/workflows/publish-vscode-extension.yml @@ -27,10 +27,10 @@ jobs: runs-on: ubuntu-latest name: Publish '${{ inputs.extension-name }}-${{ inputs.version }}-${{ inputs.postfix }}.vsix' steps: - - name: Use Node.js 20.x + - name: Use Node.js 22.x uses: actions/setup-node@v3 with: - node-version: 20.x + node-version: 22.x - name: Download Release VSIX id: download-release run: | diff --git a/.github/workflows/release-vscode-extension.yml b/.github/workflows/release-vscode-extension.yml index d821e920f3..49f5fcc297 100644 --- a/.github/workflows/release-vscode-extension.yml +++ b/.github/workflows/release-vscode-extension.yml @@ -54,10 +54,10 @@ jobs: ref: 'refs/tags/${{ steps.version.outputs.release_name }}', sha: context.sha }) - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v4 with: - java-version: '17' + java-version: '21' distribution: 'temurin' - uses: actions/setup-node@v4 with: diff --git a/.github/workflows/snapshot-vscode-extension.yml b/.github/workflows/snapshot-vscode-extension.yml index 393d61cc87..959d484eb3 100644 --- a/.github/workflows/snapshot-vscode-extension.yml +++ b/.github/workflows/snapshot-vscode-extension.yml @@ -29,10 +29,10 @@ jobs: steps: - name: Checkout vscode-extensions code and workflow scripts uses: actions/checkout@v4 - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v4 with: - java-version: '17' + java-version: '21' distribution: 'temurin' - uses: actions/setup-node@v4 with: