From 9232dccfce4c929e7f56fc98adb54a5fb5721ee8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aliberk=20Sand=C4=B1k=C3=A7=C4=B1?= Date: Mon, 2 Dec 2024 18:40:33 +0300 Subject: [PATCH] ci: update java version to 21 --- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fbf608f71..55c089b45 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,7 +39,7 @@ jobs: git clone --no-checkout https://github.com/MaintainTeam/LastPipeBender.git . git checkout --progress --force ${{ github.ref_name }} - - name: Set up JDK 17 + - name: Set up JDK uses: actions/setup-java@v4 with: java-version: 21 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c35f9e51c..7d6d2adea 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,7 +17,7 @@ on: jobs: build-and-release: runs-on: ubuntu-latest - + permissions: write-all steps: @@ -26,11 +26,11 @@ jobs: git clone --no-checkout https://github.com/MaintainTeam/LastPipeBender.git . git config core.symlinks false git checkout --progress --force ${{ github.ref_name }} - - - name: Set up JDK 17 + + - name: Set up JDK uses: actions/setup-java@v4 with: - java-version: 17 + java-version: 21 distribution: "temurin" cache: 'gradle'