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: