From 53acfab76faa4e397f37aa20d83339b3134a62fb Mon Sep 17 00:00:00 2001 From: jcesarmobile Date: Mon, 2 Dec 2024 18:43:15 +0100 Subject: [PATCH] chore(ci): Use JDK 21 (#2270) --- .github/workflows/ci.yml | 6 +++--- .github/workflows/publish-android.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 077322011..3980bf3d1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -142,10 +142,10 @@ jobs: - uses: actions/setup-node@v4 with: node-version: 20 - - name: set up JDK 17 - uses: actions/setup-java@v3 + - name: set up JDK 21 + uses: actions/setup-java@v4 with: - java-version: '17' + java-version: '21' distribution: 'zulu' - uses: actions/checkout@v3 - name: Restore Dependency Cache diff --git a/.github/workflows/publish-android.yml b/.github/workflows/publish-android.yml index 3fb4f3fbf..c05e9bfb9 100644 --- a/.github/workflows/publish-android.yml +++ b/.github/workflows/publish-android.yml @@ -50,10 +50,10 @@ jobs: with: fetch-depth: 0 token: ${{ secrets.CAP_GH_RELEASE_TOKEN }} - - name: set up JDK 17 - uses: actions/setup-java@v3 + - name: set up JDK 21 + uses: actions/setup-java@v4 with: - java-version: '17' + java-version: '21' distribution: 'zulu' - name: Grant execute permission for publishing script run: chmod +x ./scripts/publish-android.sh