From e8878523c515a559f075d25ae8b942317289dca9 Mon Sep 17 00:00:00 2001 From: Bartek Pacia Date: Fri, 23 Aug 2024 18:21:31 +0100 Subject: [PATCH] Update GitHub Actions to use Java 11 (#1940) update GitHub Actions to use Java 11 --- .github/workflows/publish-cli.yml | 14 +++++++------- .github/workflows/publish-release.yml | 12 ++++++------ .github/workflows/publish-snapshot.yml | 12 ++++++------ 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/publish-cli.yml b/.github/workflows/publish-cli.yml index 0521a3d126..6af65bd412 100644 --- a/.github/workflows/publish-cli.yml +++ b/.github/workflows/publish-cli.yml @@ -9,14 +9,14 @@ jobs: if: github.repository == 'mobile-dev-inc/maestro' steps: - - name: Checkout - uses: actions/checkout@v3 + - name: Clone repository + uses: actions/checkout@v4 - - name: Install JDK - uses: actions/setup-java@v3 + - name: Set up JDK + uses: actions/setup-java@v4 with: - distribution: 'zulu' - java-version: 8 + distribution: zulu + java-version: 11 - uses: gradle/gradle-build-action@v2 @@ -27,4 +27,4 @@ jobs: - name: Print jReleaser log if: always() - run: cat maestro-cli/build/jreleaser/trace.log \ No newline at end of file + run: cat maestro-cli/build/jreleaser/trace.log diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index a0e07ae94b..376a3650c1 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -16,14 +16,14 @@ jobs: if: github.repository == 'mobile-dev-inc/maestro' steps: - - name: Checkout - uses: actions/checkout@v3 + - name: Clone repository + uses: actions/checkout@v4 - - name: Install JDK 8 - uses: actions/setup-java@v3 + - name: Set up JDK + uses: actions/setup-java@v4 with: - distribution: 'zulu' - java-version: 8 + distribution: zulu + java-version: 11 - uses: gradle/gradle-build-action@v2 diff --git a/.github/workflows/publish-snapshot.yml b/.github/workflows/publish-snapshot.yml index 10181a4543..14e819698b 100644 --- a/.github/workflows/publish-snapshot.yml +++ b/.github/workflows/publish-snapshot.yml @@ -12,14 +12,14 @@ jobs: if: github.repository == 'mobile-dev-inc/maestro' steps: - - name: Checkout - uses: actions/checkout@v3 + - name: Clone repository + uses: actions/checkout@v4 - - name: Install JDK 8 - uses: actions/setup-java@v3 + - name: Set up JDK + uses: actions/setup-java@v4 with: - distribution: 'zulu' - java-version: 8 + distribution: zulu + java-version: 11 - uses: gradle/gradle-build-action@v2