Skip to content

Commit

Permalink
CLDR-14311 use JDK11 for build (#960)
Browse files Browse the repository at this point in the history
- use JDK 11 in CI and in pom.xml
- 11 is LTS until 2023
  • Loading branch information
srl295 authored Feb 28, 2022
1 parent 7de60bb commit c7ebd8b
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 16 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-icu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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/[email protected]
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/exhaustive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/maven-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions tools/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<!-- Note: see https://github.com/unicode-org/icu/packages/411079/versions
for the icu4j.version tag to use -->
<icu4j.version>71.0.1-SNAPSHOT-cldr-2022-02-23</icu4j.version>
Expand Down

0 comments on commit c7ebd8b

Please sign in to comment.