Skip to content

Commit

Permalink
Upgrade to JDK 21; use 'distribution' for graalvm selection
Browse files Browse the repository at this point in the history
  • Loading branch information
martinvisser committed Mar 22, 2024
1 parent 13470a4 commit 24486ab
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
branches: [ main ]

env:
JAVA_VERSION: '19'
JAVA_VERSION: '21'
JAVA_DISTRO: 'zulu'

jobs:
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/release-pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ on:
required: true

env:
GRAAL_VERSION: '22.3.0'
JAVA_VERSION: '19'
JAVA_VERSION: '21'
JAVA_DISTRO: 'zulu'

jobs:
Expand Down Expand Up @@ -71,7 +70,7 @@ jobs:
- name: 'Set up Graal'
uses: graalvm/setup-graalvm@v1
with:
version: ${{ env.GRAAL_VERSION }}
distribution: 'graalvm'
java-version: ${{ env.JAVA_VERSION }}
components: 'native-image'
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

<properties>
<kotlin.version>1.9.23</kotlin.version>
<maven.compiler.release>17</maven.compiler.release>
<maven.compiler.release>21</maven.compiler.release>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

Expand Down

0 comments on commit 24486ab

Please sign in to comment.