[GHA] JDK 21 for VSCode, Eclipse LS extensions
This commit is contained in:
4
.github/workflows/build-vscode-extension.yml
vendored
4
.github/workflows/build-vscode-extension.yml
vendored
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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: |
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user