From bff3d237409d0798bec6d669f18af095460112d3 Mon Sep 17 00:00:00 2001 From: Konstantin Date: Thu, 19 Dec 2024 17:11:49 +0100 Subject: [PATCH] chore: publish using JDK 17 --- .github/workflows/gradle.yml | 2 +- .github/workflows/publish.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 3f2fcc4..e09ee53 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -44,7 +44,7 @@ jobs: ~/.konan key: ${{ runner.os }}-${{ hashFiles('**/.lock') }} - name: Set up JDK 17 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: "17" distribution: "temurin" diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1c21bd9..37ac068 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -9,11 +9,11 @@ jobs: steps: - name: Check out code uses: actions/checkout@v4 - - name: Set up JDK 21 + - name: Set up JDK 17 uses: actions/setup-java@v4 with: - distribution: 'zulu' - java-version: 21 + java-version: "17" + distribution: "temurin" - name: Set release version run: bash ./setversion.sh ${{ github.ref_name }} gadulka/build.gradle.kts - name: Publish to MavenCentral