Skip to content

Commit

Permalink
chore: java 19 update
Browse files Browse the repository at this point in the history
  • Loading branch information
sureshg committed Dec 12, 2021
1 parent c4f819b commit c06a9c3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
fail-fast: true
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
jdk: [ 18 ]
jdk: [ 19 ]
include:
- os: ubuntu-latest
cmd: ./mvnw
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
- name: Download OpenJDK (fallback)
if: ${{ false }}
run: |
download_url="https://download.java.net/java/early_access/jdk18/14/GPL/openjdk-18-ea+14_linux-x64_bin.tar.gz"
download_url="https://download.java.net/java/early_access/jdk19/1/GPL/openjdk-19-ea+1_linux-x64_bin.tar.gz"
wget -O $RUNNER_TEMP/java_package.tar.gz $download_url
- name: Set up OpenJDK ${{ matrix.jdk }} with dep cache
Expand Down
4 changes: 2 additions & 2 deletions .mvn/toolchains.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
<toolchain>
<type>jdk</type>
<provides>
<version>18</version>
<version>19</version>
<vendor>openjdk</vendor>
</provides>
<configuration>
<jdkHome>/path/to/jdk/18</jdkHome>
<jdkHome>/path/to/jdk/19</jdkHome>
</configuration>
</toolchain>
</toolchains>
2 changes: 1 addition & 1 deletion .sdkmanrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Enable auto-env through the sdkman_auto_env config
# Add key=value pairs of SDKs to use below
java=18.ea.25-open
java=19.ea.1-open
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ This is a slightly modified version of [Aleksey Shipilev's](https://github.com/s
[jmh_img]: https://img.shields.io/maven-central/v/org.openjdk.jmh/jmh-core?color=cd2237&label=Jmh-Core&logo=apache%20maven&logoColor=cd2237&style=for-the-badge

[java_url]: https://jdk.java.net/
[java_img]: https://img.shields.io/badge/OpenJDK-jdk--18-ea791d?logo=java&style=for-the-badge&logoColor=ea791d
[java_img]: https://img.shields.io/badge/OpenJDK-jdk--19-ea791d?logo=java&style=for-the-badge&logoColor=ea791d

[gha_url]: https://github.com/sureshg/jmh-bench-sample/actions/workflows/build.yml
[gha_img]: https://github.com/sureshg/jmh-bench-sample/actions/workflows/build.yml/badge.svg?branch=main
Expand Down

0 comments on commit c06a9c3

Please sign in to comment.