From 786b8ca694ffb5c8975dc6c6ad652bf6ab557f27 Mon Sep 17 00:00:00 2001 From: Natsu Date: Tue, 18 Jun 2024 22:09:25 +0700 Subject: [PATCH] chore: Reorder Setup JDK Action --- .github/workflows/build.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 755ee13..ae77271 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,6 +13,12 @@ jobs: with: submodules: recursive + - name: Setup JDK + uses: actions/setup-java@v4 + with: + java-version: '21' + distribution: 'temurin' + - name: Setup Android Development Environment uses: android-actions/setup-android@v3 @@ -31,12 +37,6 @@ jobs: sdkmanager --install "cmake;3.22.1" echo "cmake.dir=/usr/local/lib/android/sdk/cmake/3.22.1" > local.properties - - name: Setup Java JDK - uses: actions/setup-java@v4 - with: - distribution: 'temurin' - java-version: '21' - - name: Write Branch and Hash Info run: | branch=$(git rev-parse --abbrev-ref HEAD)