From 46541b8763449c2bc107cf5c5da8c2e3e3317213 Mon Sep 17 00:00:00 2001 From: Mark Raynsford Date: Fri, 23 Feb 2024 13:37:57 +0000 Subject: [PATCH] Update Java workflows --- .github/workflows/android-main.yml | 3 ++- .github/workflows/android-pr.yml | 3 ++- .github/workflows/android-release.yml | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/android-main.yml b/.github/workflows/android-main.yml index f5552b3..8ae74de 100644 --- a/.github/workflows/android-main.yml +++ b/.github/workflows/android-main.yml @@ -14,9 +14,10 @@ jobs: - name: Checkout submodules run: git submodule update --init --recursive - name: set up JDK 17 - uses: actions/setup-java@v1 + uses: actions/setup-java@v4 with: java-version: 17 + distribution: temurin - name: Build env: MAVEN_CENTRAL_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }} diff --git a/.github/workflows/android-pr.yml b/.github/workflows/android-pr.yml index fc92b07..a2c5799 100644 --- a/.github/workflows/android-pr.yml +++ b/.github/workflows/android-pr.yml @@ -13,9 +13,10 @@ jobs: - name: Checkout submodules run: git submodule update --init --recursive - name: set up JDK 17 - uses: actions/setup-java@v1 + uses: actions/setup-java@v4 with: java-version: 17 + distribution: temurin - name: Build PR run: .ci/ci-main.sh pull-request diff --git a/.github/workflows/android-release.yml b/.github/workflows/android-release.yml index 21ab26a..bb82edc 100644 --- a/.github/workflows/android-release.yml +++ b/.github/workflows/android-release.yml @@ -9,9 +9,10 @@ jobs: - name: Checkout submodules run: git submodule update --init --recursive - name: Set up JDK 17 - uses: actions/setup-java@v1 + uses: actions/setup-java@v4 with: java-version: 17 + distribution: temurin - name: Finish release run: .ci/ci-release-finish.sh --tag - name: Build