Skip to content

Commit

Permalink
roll back gradle java version.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpe7s committed Aug 16, 2024
1 parent 049e4d8 commit eb54a87
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: ${{ vars.JAVA_VENDOR }}
java-version: ${{ vars.GRADLE_JAVA_VERSION }}
java-version: 21
java-package: jre
cache: 'gradle'
- run: printf "org.gradle.java.home=%s" "$JAVA_HOME" > gradle.properties
Expand All @@ -30,6 +30,7 @@ jobs:
distribution: ${{ vars.JAVA_VENDOR }}
java-version: ${{ vars.JAVA_VERSION }}
check-latest: true

- run: printf "\norg.gradle.java.installations.paths=%s" "$JAVA_HOME" >> gradle.properties
- run: java --version

Expand Down

0 comments on commit eb54a87

Please sign in to comment.