1
0

chore: Reorder Setup JDK Action

This commit is contained in:
Natsu 2024-06-18 22:09:25 +07:00
parent a65c73f9a4
commit 786b8ca694
Signed by: NatsumeLS
GPG Key ID: 6DB67FB460CF46C6

View File

@ -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)