Skip to content

Commit

Permalink
ci: Try setting JAVA_HOME
Browse files Browse the repository at this point in the history
  • Loading branch information
emk committed Feb 28, 2024
1 parent bc1778e commit 427bfaf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion java/trino-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.release>17</maven.compiler.release>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
</properties>

<dependencies>
Expand Down

0 comments on commit 427bfaf

Please sign in to comment.