From 707be214b9d0f8cc068f42b24e7c84c85a12acea Mon Sep 17 00:00:00 2001 From: Maciej Walkowiak Date: Mon, 16 Sep 2024 22:32:05 +0200 Subject: [PATCH] Fix Java version in upload docs job. --- .github/workflows/upload-docs.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/upload-docs.yml b/.github/workflows/upload-docs.yml index 0d38cba04..bed5c9900 100644 --- a/.github/workflows/upload-docs.yml +++ b/.github/workflows/upload-docs.yml @@ -29,12 +29,11 @@ jobs: with: candidate: java version: '17.0.1-tem' - - name: Set up JDK 8 + - name: Set up JDK uses: actions/setup-java@v4 with: java-version: 8 - distribution: 'adopt' - cache: 'maven' + jdkFile: ${{ steps.sdkman.outputs.file }} - uses: actions/cache@v1 with: path: ~/.m2/repository