Skip to content

Commit

Permalink
[GHA] JDK 21 for VSCode, Eclipse LS extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
BoykoAlex committed Nov 19, 2024
1 parent a73b78e commit c81c52b
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-vscode-extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/eclipse-ls-extensions-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gh-hosted-eclipse-distro-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-vscode-extension-pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-vscode-extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-vscode-extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/snapshot-vscode-extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c81c52b

Please sign in to comment.