From c7ebd8b63c7b90f947a770563801a964beea2739 Mon Sep 17 00:00:00 2001 From: "Steven R. Loomis" Date: Mon, 28 Feb 2022 11:13:45 -0600 Subject: [PATCH] CLDR-14311 use JDK11 for build (#960) - use JDK 11 in CI and in pom.xml - 11 is LTS until 2023 --- .github/workflows/build-icu.yml | 8 ++++---- .github/workflows/exhaustive.yml | 4 ++-- .github/workflows/maven-release.yml | 4 ++-- .github/workflows/maven.yml | 8 ++++---- .github/workflows/production.yml | 4 ++-- tools/pom.xml | 4 ++-- 6 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build-icu.yml b/.github/workflows/build-icu.yml index aed3ea95024..fe212df2052 100644 --- a/.github/workflows/build-icu.yml +++ b/.github/workflows/build-icu.yml @@ -32,10 +32,10 @@ jobs: ref: ${{ github.event.inputs.cldr-ref }} lfs: false repository: ${{ github.event.inputs.cldr-repo }} - - name: Set up JDK 1.8 + - name: Set up JDK uses: actions/setup-java@v1 with: - java-version: 1.8 + java-version: 11 - name: Cache local Maven repository uses: actions/cache@v2 with: @@ -86,10 +86,10 @@ jobs: with: name: cldr-code path: cldr-code - - name: Set up JDK 1.8 + - name: Set up JDK uses: actions/setup-java@v1 with: - java-version: 1.8 + java-version: 11 - name: Setup Maven Settings uses: s4u/maven-settings-action@v2.4.1 with: diff --git a/.github/workflows/exhaustive.yml b/.github/workflows/exhaustive.yml index 4702adf422a..aaa2e347d26 100644 --- a/.github/workflows/exhaustive.yml +++ b/.github/workflows/exhaustive.yml @@ -29,10 +29,10 @@ jobs: fetch-depth: 0 # Needed for cldr-archive ref: ${{ github.event.inputs.git-ref }} if: github.event.inputs.git-ref != '' - - name: Set up JDK 1.8 + - name: Set up JDK uses: actions/setup-java@v1 with: - java-version: 1.8 + java-version: 11 - name: Cache local Maven repository uses: actions/cache@v2 with: diff --git a/.github/workflows/maven-release.yml b/.github/workflows/maven-release.yml index 8c021d8a2af..e6b9506f433 100644 --- a/.github/workflows/maven-release.yml +++ b/.github/workflows/maven-release.yml @@ -10,10 +10,10 @@ jobs: - uses: actions/checkout@v2 with: lfs: false - - name: Set up JDK 1.8 + - name: Set up JDK uses: actions/setup-java@v1 with: - java-version: 1.8 + java-version: 11 - name: Cache local Maven repository uses: actions/cache@v2 with: diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 52041500b8f..544422e4e23 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -28,10 +28,10 @@ jobs: lfs: false ref: ${{ github.event.inputs.git-ref }} if: github.event.inputs.git-ref != '' - - name: Set up JDK 1.8 + - name: Set up JDK uses: actions/setup-java@v1 with: - java-version: 1.8 + java-version: 11 - name: Cache local Maven repository uses: actions/cache@v2 with: @@ -106,10 +106,10 @@ jobs: lfs: false ref: ${{ github.event.inputs.git-ref }} if: github.event.inputs.git-ref != '' - - name: Set up JDK 1.8 + - name: Set up JDK uses: actions/setup-java@v1 with: - java-version: 1.8 + java-version: 11 - name: Download cldr-code.jar uses: actions/download-artifact@v2 with: diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index a5de04b5168..fa530bcf7c9 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -26,10 +26,10 @@ jobs: id: tagname run: > echo "::set-output name=tag::$(env TZ=UTC date +'production/%Y-%m-%d-%H%Mz')" - - name: Set up JDK 1.8 + - name: Set up JDK uses: actions/setup-java@v1 with: - java-version: 1.8 + java-version: 11 - name: Cache local Maven repository uses: actions/cache@v2 with: diff --git a/tools/pom.xml b/tools/pom.xml index b6d191111a1..5e8ae107582 100644 --- a/tools/pom.xml +++ b/tools/pom.xml @@ -18,8 +18,8 @@ UTF-8 UTF-8 - 1.8 - 1.8 + 11 + 11 71.0.1-SNAPSHOT-cldr-2022-02-23