Skip to content

Commit

Permalink
Address code review comments
Browse files Browse the repository at this point in the history
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
  • Loading branch information
reta committed Aug 14, 2024
1 parent 958c4fb commit 3aaa56f
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/precommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,11 @@ jobs:
with:
java-version: 17
distribution: temurin
- name: Set JAVA11_HOME
# See please https://docs.gradle.org/8.10/userguide/upgrading_version_8.html#minimum_daemon_jvm_version
if: matrix.java == 11
- name: Set JAVA${{ matrix.java }}_HOME
shell: bash
run: |
echo "JAVA11_HOME=$JAVA_HOME_11_${{ runner.arch }}" >> $GITHUB_ENV
echo "JAVA${{ matrix.java }}_HOME=$JAVA_HOME_${{ matrix.java }_${{ runner.arch }}" >> $GITHUB_ENV
- name: Run Gradle (precommit)
# See please https://docs.gradle.org/8.10-rc-1/userguide/upgrading_version_8.html#minimum_daemon_jvm_version
if: matrix.java == 11
shell: bash
run: |
./gradlew javadoc precommit --parallel -Druntime.java=11
- name: Run Gradle (precommit)
if: matrix.java != 11
run: |
./gradlew javadoc precommit --parallel
./gradlew javadoc precommit --parallel -Druntime.java=${{ matrix.java }

0 comments on commit 3aaa56f

Please sign in to comment.