From 427bfafb07bd7ea762b8ee70e2a548490f456760 Mon Sep 17 00:00:00 2001 From: Eric Kidd Date: Wed, 28 Feb 2024 08:40:25 -0500 Subject: [PATCH] ci: Try setting JAVA_HOME --- .github/workflows/ci.yml | 2 ++ java/trino-plugin/pom.xml | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9de1a1a..f5fc233 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,9 @@ jobs: - name: Build & check Trino run: | just install-dev-tools + . ~/.asdf/plugins/java/set-java-home.bash (cd java/trino-plugin && java --version && mvn --version) + echo "JAVA_HOME: $JAVA_HOME" just docker-run-trino just check-trino docker tag trino-joinery ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest diff --git a/java/trino-plugin/pom.xml b/java/trino-plugin/pom.xml index 26ad95e..2904fcd 100644 --- a/java/trino-plugin/pom.xml +++ b/java/trino-plugin/pom.xml @@ -14,7 +14,8 @@ UTF-8 - 17 + 17 + 17