chore: Reorder Setup JDK Action
This commit is contained in:
parent
a65c73f9a4
commit
786b8ca694
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@ -13,6 +13,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
|
- name: Setup JDK
|
||||||
|
uses: actions/setup-java@v4
|
||||||
|
with:
|
||||||
|
java-version: '21'
|
||||||
|
distribution: 'temurin'
|
||||||
|
|
||||||
- name: Setup Android Development Environment
|
- name: Setup Android Development Environment
|
||||||
uses: android-actions/setup-android@v3
|
uses: android-actions/setup-android@v3
|
||||||
|
|
||||||
@ -31,12 +37,6 @@ jobs:
|
|||||||
sdkmanager --install "cmake;3.22.1"
|
sdkmanager --install "cmake;3.22.1"
|
||||||
echo "cmake.dir=/usr/local/lib/android/sdk/cmake/3.22.1" > local.properties
|
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
|
- name: Write Branch and Hash Info
|
||||||
run: |
|
run: |
|
||||||
branch=$(git rev-parse --abbrev-ref HEAD)
|
branch=$(git rev-parse --abbrev-ref HEAD)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user