From b8db9fb8280cef23c8874fb184a656751710d5f4 Mon Sep 17 00:00:00 2001 From: AnasNaouchi Date: Wed, 15 May 2024 01:16:02 +0300 Subject: [PATCH] Update CI to java zulu 21 --- .github/workflows/ci.yml | 7 ++++--- .github/workflows/publish.yml | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cc4435c2..86e942f8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,10 +12,11 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up JDK 1.8 - uses: actions/setup-java@v1 + - name: Set up JDK 21 + uses: actions/setup-java@v3 with: - java-version: 1.8 + distribution: 'zulu' + java-version: 21 - name: Grant execute permission for gradlew run: chmod +x gradlew diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 14ba2b1a..6c8b0181 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,10 +14,11 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up JDK 1.8 - uses: actions/setup-java@v1 + - name: Set up JDK 21 + uses: actions/setup-java@v3 with: - java-version: 1.8 + distribution: 'zulu' + java-version: 21 server-id: github # Value of the distributionManagement/repository/id field of the pom.xml settings-path: ${{ github.workspace }} # location for the settings.xml file