From 52a1d89d4185ad0979c70bfb84e0f079146d6be4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ce=C4=BEuch?= Date: Mon, 29 Jan 2024 15:28:12 +0100 Subject: [PATCH] add java setup for maven in mac and win workers --- .github/workflows/package.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/package.yaml b/.github/workflows/package.yaml index ec247d79b..84e76d115 100644 --- a/.github/workflows/package.yaml +++ b/.github/workflows/package.yaml @@ -88,6 +88,11 @@ jobs: run: ./mvnw versions:set -DnewVersion=$(git describe --tags --abbrev=0 | sed -r 's/^v//g') shell: bash + - name: Set up JDK + uses: actions/setup-java@v3 + with: + java-version: "17.0.7+7" + - name: Cache local Maven repository and JDK cache uses: actions/cache@v3 with: @@ -170,6 +175,11 @@ jobs: run: ./mvnw versions:set -DnewVersion=$(git describe --tags --abbrev=0 | sed -r 's/^v//g') shell: bash + - name: Set up JDK + uses: actions/setup-java@v3 + with: + java-version: "17.0.7+7" + - name: Cache local Maven repository and JDK cache uses: actions/cache@v3 with: