Skip to content

Commit

Permalink
Edited git workflow to use JDK-20
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorRodchenkov committed Sep 5, 2023
1 parent 1b9d7b0 commit 6d3fd8e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
build:
runs-on: ubuntu-latest

# env:
# _JAVA_OPTIONS: "--add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED"
env:
JDK_JAVA_OPTIONS: "--add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED"

name: Build with Gradle

Expand All @@ -25,7 +25,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v2
with:
java-version: 17
java-version: 20
distribution: 'temurin'
cache: gradle
- name: Build with Gradle
Expand Down

0 comments on commit 6d3fd8e

Please sign in to comment.