Skip to content

Commit

Permalink
Removed explicit -Druntime.java version specifier for Gradle check (#79)
Browse files Browse the repository at this point in the history
Signed-off-by: Andriy Redko <[email protected]>
  • Loading branch information
reta authored Nov 2, 2023
1 parent c85334e commit fe6fcde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ jobs:
run: |
# https://github.com/opensearch-project/opensearch-build/issues/4191
chown -R opensearch:opensearch `pwd`
su opensearch -c "source /etc/profile.d/java_home.sh && ./gradlew check -Druntime.java=${{ matrix.java }}"
su opensearch -c "source /etc/profile.d/java_home.sh && ./gradlew check -Dorg.gradle.java.home=/opt/java/openjdk-${{ matrix.java }}"
- name: Run Gradle (assemble)
run: |
# https://github.com/opensearch-project/opensearch-build/issues/4191
chown -R opensearch:opensearch `pwd`
su opensearch -c "source /etc/profile.d/java_home.sh && ./gradlew assemble -Druntime.java=${{ matrix.java }}"
su opensearch -c "source /etc/profile.d/java_home.sh && ./gradlew assemble -Dorg.gradle.java.home=/opt/java/openjdk-${{ matrix.java }}"
precommit-windows-macos:
if: github.repository == 'opensearch-project/custom-codecs'
Expand Down

0 comments on commit fe6fcde

Please sign in to comment.