forked from finos/legend-shared
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade legend-shared to build with JDK 21 (finos#205)
* Allow building with JDK 21 * Upgrade workflows to use JDK 21, and upgrade other actions
- Loading branch information
1 parent
7103228
commit 6c79ba7
Showing
7 changed files
with
32 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.FINOS_GITHUB_TOKEN }} | ||
|
||
|
@@ -40,11 +40,12 @@ jobs: | |
git config --global user.email "[email protected]" | ||
git config --global user.name "FINOS Administrator" | ||
- name: Set up Maven Central | ||
uses: actions/setup-java@v2 | ||
- name: Set up JDK | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: "zulu" | ||
java-version: "11" | ||
distribution: 'temurin' | ||
java-version: 21 | ||
java-package: jdk | ||
server-id: ossrh | ||
server-username: CI_DEPLOY_USERNAME | ||
server-password: CI_DEPLOY_PASSWORD | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,7 +38,7 @@ jobs: | |
steps: | ||
|
||
- name: Checkout repo | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.FINOS_GITHUB_TOKEN }} | ||
|
||
|
@@ -47,11 +47,12 @@ jobs: | |
git config --global user.email "[email protected]" | ||
git config --global user.name "FINOS Administrator" | ||
- name: Set up Maven Central | ||
uses: actions/setup-java@v2 | ||
- name: Set up JDK | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: "zulu" | ||
java-version: "11" | ||
distribution: 'temurin' | ||
java-version: 21 | ||
java-package: jdk | ||
server-id: ossrh | ||
server-username: CI_DEPLOY_USERNAME | ||
server-password: CI_DEPLOY_PASSWORD | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.FINOS_GITHUB_TOKEN }} | ||
|
||
|
@@ -43,11 +43,12 @@ jobs: | |
git config --global user.email "[email protected]" | ||
git config --global user.name "FINOS Administrator" | ||
- name: Set up Maven Central | ||
uses: actions/setup-java@v2 | ||
- name: Set up JDK | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: "zulu" | ||
java-version: "11" | ||
distribution: 'temurin' | ||
java-version: 21 | ||
java-package: jdk | ||
server-id: ossrh | ||
server-username: CI_DEPLOY_USERNAME | ||
server-password: CI_DEPLOY_PASSWORD | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters