From 19e18f6276e6a51b6d888fa697fece6e6af00ae9 Mon Sep 17 00:00:00 2001 From: MohitMaliFtechiz Date: Wed, 22 Nov 2023 15:37:13 +0530 Subject: [PATCH] Configured CI to use Java 17 instead of Java 11 because new gradle version are needed Java 17 to compile the project. --- .github/workflows/ci.yml | 4 ++-- .github/workflows/fdroid_nightly.yml | 4 ++-- .github/workflows/nightly.yml | 4 ++-- .github/workflows/pull_request.yml | 16 ++++++++-------- .github/workflows/release.yml | 4 ++-- 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 779726d8e..06f4097cd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,11 +21,11 @@ jobs: with: fetch-depth: 1 - - name: Set up JDK 11 + - name: Set up JDK 17 uses: actions/setup-java@v4 with: distribution: temurin - java-version: 11 + java-version: 17 - name: Restore Cache uses: actions/cache@v4 diff --git a/.github/workflows/fdroid_nightly.yml b/.github/workflows/fdroid_nightly.yml index 57db24c08..fba2ff9d3 100644 --- a/.github/workflows/fdroid_nightly.yml +++ b/.github/workflows/fdroid_nightly.yml @@ -14,10 +14,10 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Set up JDK 11 + - name: Set up JDK 17 uses: actions/setup-java@v4 with: - java-version: 11 + java-version: 17 distribution: temurin - name: Build diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index e2d7ffbc3..88119a495 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -16,10 +16,10 @@ jobs: with: fetch-depth: 1 - - name: Set up JDK 11 + - name: Set up JDK 17 uses: actions/setup-java@v4 with: - java-version: 11 + java-version: 17 distribution: temurin - name: Decrypt files diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index c8dbc6060..e38d666a0 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -17,10 +17,10 @@ jobs: with: fetch-depth: 1 - - name: Set up JDK 11 + - name: Set up JDK 17 uses: actions/setup-java@v4 with: - java-version: 11 + java-version: 17 distribution: temurin - name: Restore Cache @@ -55,10 +55,10 @@ jobs: with: fetch-depth: 1 - - name: Set up JDK 11 + - name: Set up JDK 17 uses: actions/setup-java@v4 with: - java-version: 11 + java-version: 17 distribution: temurin - name: Restore Cache @@ -93,10 +93,10 @@ jobs: with: fetch-depth: 1 - - name: Set up JDK 11 + - name: Set up JDK 17 uses: actions/setup-java@v4 with: - java-version: 11 + java-version: 17 distribution: temurin - name: Restore Cache @@ -131,10 +131,10 @@ jobs: with: fetch-depth: 1 - - name: Set up JDK 11 + - name: Set up JDK 17 uses: actions/setup-java@v4 with: - java-version: 11 + java-version: 17 distribution: temurin - name: Build all configurations diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6a74f5a29..82364d338 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,10 +12,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up JDK 11 + - name: Set up JDK 17 uses: actions/setup-java@v4 with: - java-version: 11 + java-version: 17 distribution: temurin - name: Retrieve secrets to files