diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ab2efb03..74d0edad 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,6 +5,9 @@ on: branches: - main +env: + JAVA_HOME: /usr/lib/jvm/java-21-openjdk/ + jobs: build: runs-on: ubuntu-latest diff --git a/.github/workflows/test-pr.yml b/.github/workflows/test-pr.yml index a2acc6fb..72c83d65 100644 --- a/.github/workflows/test-pr.yml +++ b/.github/workflows/test-pr.yml @@ -4,6 +4,9 @@ on: pull_request: types: [opened, edited, ready_for_review, reopened] +env: + JAVA_HOME: /usr/lib/jvm/java-21-openjdk/ + jobs: build: runs-on: ubuntu-latest