Skip to content

Commit

Permalink
Migrate to Java 21
Browse files Browse the repository at this point in the history
  • Loading branch information
warunalakshitha committed Nov 17, 2024
1 parent 4deee07 commit 13cc291
Show file tree
Hide file tree
Showing 26 changed files with 103 additions and 102 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/daily-build-2201.10.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ jobs:
uses: actions/checkout@v3
with:
ref: 2201.10.x
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17.0.7'
java-version: '21.0.3'
- name: Get daily docker version
id: version
run: echo "::set-output name=version::$(date +'%Y-%m-%d')"
Expand Down Expand Up @@ -229,11 +229,11 @@ jobs:
uses: actions/checkout@v2
with:
ref: 2201.10.x
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17.0.7'
java-version: '21.0.3'
- name: Build with Gradle
env:
packageUser: ${{ github.actor }}
Expand All @@ -254,11 +254,11 @@ jobs:
uses: actions/checkout@v2
with:
ref: 2201.10.x
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17.0.7'
java-version: '21.0.3'
- name: Build with Gradle
env:
packageUser: ${{ github.actor }}
Expand All @@ -278,11 +278,11 @@ jobs:
uses: actions/checkout@v2
with:
ref: 2201.10.x
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17.0.7'
java-version: '21.0.3'
- name: Setup Files
run: |
cd /etc/yum.repos.d/
Expand Down Expand Up @@ -362,11 +362,11 @@ jobs:
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17.0.7'
java-version: '21.0.3'
- name: Download MacOS-ARM Intaller Zip
uses: actions/download-artifact@v4
with:
Expand Down Expand Up @@ -401,11 +401,11 @@ jobs:
uses: actions/checkout@v2
with:
ref: 2201.10.x
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '17.0.7'
java-version: '21.0.3'
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '2.1.x'
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/daily-build-2201.8.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ jobs:
uses: actions/checkout@v3
with:
ref: 2201.8.x
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17.0.7'
java-version: '21.0.3'
- name: Get daily docker version
id: version
run: echo "::set-output name=version::$(date +'%Y-%m-%d')"
Expand Down Expand Up @@ -229,11 +229,11 @@ jobs:
uses: actions/checkout@v2
with:
ref: 2201.8.x
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17.0.7'
java-version: '21.0.3'
- name: Build with Gradle
env:
packageUser: ${{ github.actor }}
Expand All @@ -254,11 +254,11 @@ jobs:
uses: actions/checkout@v2
with:
ref: 2201.8.x
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17.0.7'
java-version: '21.0.3'
- name: Build with Gradle
env:
packageUser: ${{ github.actor }}
Expand All @@ -278,11 +278,11 @@ jobs:
uses: actions/checkout@v2
with:
ref: 2201.8.x
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17.0.7'
java-version: '21.0.3'
- name: Setup Files
run: |
cd /etc/yum.repos.d/
Expand Down Expand Up @@ -362,11 +362,11 @@ jobs:
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17.0.7'
java-version: '21.0.3'
- name: Download MacOS-ARM Intaller Zip
uses: actions/download-artifact@v4
with:
Expand Down Expand Up @@ -401,11 +401,11 @@ jobs:
uses: actions/checkout@v2
with:
ref: 2201.8.x
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '17.0.7'
java-version: '21.0.3'
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '2.1.x'
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/daily-build-2201.9.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ jobs:
uses: actions/checkout@v3
with:
ref: 2201.9.x
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17.0.7'
java-version: '21.0.3'
- name: Get daily docker version
id: version
run: echo "::set-output name=version::$(date +'%Y-%m-%d')"
Expand Down Expand Up @@ -229,11 +229,11 @@ jobs:
uses: actions/checkout@v2
with:
ref: 2201.9.x
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17.0.7'
java-version: '21.0.3'
- name: Build with Gradle
env:
packageUser: ${{ github.actor }}
Expand All @@ -254,11 +254,11 @@ jobs:
uses: actions/checkout@v2
with:
ref: 2201.9.x
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17.0.7'
java-version: '21.0.3'
- name: Build with Gradle
env:
packageUser: ${{ github.actor }}
Expand All @@ -278,11 +278,11 @@ jobs:
uses: actions/checkout@v2
with:
ref: 2201.9.x
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17.0.7'
java-version: '21.0.3'
- name: Setup Files
run: |
cd /etc/yum.repos.d/
Expand Down Expand Up @@ -362,11 +362,11 @@ jobs:
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17.0.7'
java-version: '21.0.3'
- name: Download MacOS-ARM Intaller Zip
uses: actions/download-artifact@v4
with:
Expand Down Expand Up @@ -401,11 +401,11 @@ jobs:
uses: actions/checkout@v2
with:
ref: 2201.9.x
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '17.0.7'
java-version: '21.0.3'
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '2.1.x'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/daily-build-editor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
if: github.repository_owner == 'ballerina-platform'

steps:
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17.0.7'
java-version: '21.0.3'
- name: Use Node.js
uses: actions/setup-node@v1
with:
Expand Down
32 changes: 16 additions & 16 deletions .github/workflows/daily-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17.0.7'
java-version: '21.0.3'
- name: Get daily docker version
id: version
run: echo "::set-output name=version::$(date +'%Y-%m-%d')"
Expand Down Expand Up @@ -243,11 +243,11 @@ jobs:
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '17.0.7'
java-version: '21.0.3'
- name: Build with Gradle
env:
packageUser: ${{ github.actor }}
Expand All @@ -266,11 +266,11 @@ jobs:
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '17.0.7'
java-version: '21.0.3'
- name: Build with Gradle
env:
packageUser: ${{ github.actor }}
Expand All @@ -289,11 +289,11 @@ jobs:
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '17.0.7'
java-version: '21.0.3'
- name: Setup Files
run: |
cd /etc/yum.repos.d/
Expand Down Expand Up @@ -326,11 +326,11 @@ jobs:
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '17.0.7'
java-version: '21.0.3'
- name: Download Linux-ARM Installer Zip
uses: actions/download-artifact@v4
with:
Expand Down Expand Up @@ -362,11 +362,11 @@ jobs:
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '17.0.7'
java-version: '21.0.3'
- name: Download MacOS Installer Zip
uses: actions/download-artifact@v4
with:
Expand Down Expand Up @@ -412,11 +412,11 @@ jobs:
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '17.0.7'
java-version: '21.0.3'
- name: Download MacOS-ARM Intaller Zip
uses: actions/download-artifact@v4
with:
Expand Down Expand Up @@ -449,11 +449,11 @@ jobs:
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '17.0.7'
java-version: '21.0.3'
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '2.1.x'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/language_server_simulator_fhir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ jobs:
with:
ref: ${{ matrix.branch }}

- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17.0.7'
java-version: '21.0.3'

- name: Initialize sub-modules
run: git submodule update --init
Expand Down
Loading

0 comments on commit 13cc291

Please sign in to comment.