From 4e0831727b701e0e59ff0380c911045872f706ff Mon Sep 17 00:00:00 2001 From: katauber Date: Wed, 30 Aug 2023 11:54:59 +0200 Subject: [PATCH] Add Java version to Github actions. --- .github/workflows/build.yml | 4 ++++ .github/workflows/test.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 62a0bb6..2685bb7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,6 +15,10 @@ jobs: path: metafacture-core repository: metafacture/metafacture-core ref: 5.5.1-rc1 + - name: Set up JDK 1.8 + uses: actions/setup-java@v1 + with: + java-version: 1.8 - name: Install metafacture-core (temporary) working-directory: metafacture-core run: ./gradlew install diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2808aca..bedcd36 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,6 +14,10 @@ jobs: path: metafacture-core repository: metafacture/metafacture-core ref: 5.5.1-rc1 + - name: Set up JDK 1.8 + uses: actions/setup-java@v1 + with: + java-version: 1.8 - name: Install metafacture-core (temporary) working-directory: metafacture-core run: ./gradlew install