From a488e4897af690961d06bc337bf44cc9bc1b92ee Mon Sep 17 00:00:00 2001 From: Jacob Ras Date: Tue, 19 Nov 2024 00:22:19 +0100 Subject: [PATCH] Configure Java distribution --- .github/workflows/build.yml | 1 + .github/workflows/publish.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3d61a23..9fd0cd2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,6 +26,7 @@ jobs: - name: Set up JDK 17 uses: actions/setup-java@v4 with: + distribution: 'temurin' java-version: 17 - name: Compile & run tests diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index acea7c3..502b7ee 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,6 +12,7 @@ jobs: - name: Set up JDK 17 uses: actions/setup-java@v4 with: + distribution: 'temurin' java-version: 17 - name: Publish Library