Skip to content

Commit

Permalink
jdk 21
Browse files Browse the repository at this point in the history
  • Loading branch information
kairoh committed Oct 15, 2023
1 parent 5bc440b commit dc3d84a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Set up JDK 20
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 20
java-version: 21
cache: maven

- name: Download JS front
Expand Down Expand Up @@ -117,26 +117,26 @@ jobs:
- name: Download Liberica NIK
env:
#liberica-url: https://download.bell-sw.com/vm/22.3.2/bellsoft-liberica-vm-core-openjdk17.0.7+7-22.3.2+1-${{ matrix.jdk-suffix }}
liberica-url: https://download.bell-sw.com/vm/23.0.1/bellsoft-liberica-vm-core-openjdk20.0.2+10-23.0.1+1-${{ matrix.jdk-suffix }}
#liberica-url: https://download.bell-sw.com/vm/23.0.1/bellsoft-liberica-vm-core-openjdk20.0.2+10-23.0.1+1-${{ matrix.jdk-suffix }}
liberica-url: https://download.bell-sw.com/vm/23.1.0/bellsoft-liberica-vm-core-openjdk21+37-23.1.0+1-${{ matrix.jdk-suffix }}
run: curl -sLo ${{ runner.temp }}/${{ matrix.jdk-suffix }} ${{ env.liberica-url }}
if: ${{ runner.os != 'Linux' }}

- uses: actions/setup-java@v3
with:
java-version: 20
java-version: 21
distribution: jdkfile
jdkFile: ${{ runner.temp }}/${{ matrix.jdk-suffix }}
cache: maven
if: ${{ runner.os != 'Linux' }}
#if: ${{ runner.os != 'Linux' }}

- uses: graalvm/setup-graalvm@v1
with:
version: mandrel-latest
java-version: 20
#distribution: mandrel
java-version: 21
cache: maven
github-token: ${{ secrets.GITHUB_TOKEN }}
if: ${{ runner.os == 'Linux' }}
if: ${{ runner.os == 'Test-Linux' }}

- name: (Windows) Set up compiler
uses: ilammy/msvc-dev-cmd@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ jobs:
with:
fetch-depth: 0 # Shallow clone

- name: Set up JDK 20
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 20
java-version: 21
cache: maven

- name: Test with Maven
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
<profile>
<id>native</id>
<properties>
<java.version>20</java.version>
<java.version>21</java.version>
</properties>
</profile>
</profiles>
Expand Down

0 comments on commit dc3d84a

Please sign in to comment.