change order of `Setup Java JDK`
Android CI / build (push) Failing after 7m52s Details

This commit is contained in:
chinosk 2024-07-07 20:45:14 +08:00
parent 2c5a10262a
commit 1905a75b0e
Signed by: chinosk
GPG Key ID: 00610B08C1BF7BE9
1 changed files with 7 additions and 7 deletions

View File

@ -12,7 +12,13 @@ jobs:
with: with:
submodules: recursive submodules: recursive
- name: set up android development environment - name: Setup Java JDK
uses: actions/setup-java@v4.2.1
with:
distribution: 'temurin'
java-version: '21'
- name: setup android development environment
uses: android-actions/setup-android@v2 uses: android-actions/setup-android@v2
- name: install dependencies - name: install dependencies
@ -21,12 +27,6 @@ jobs:
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
npm install -g pnpm npm install -g pnpm
- name: Setup Java JDK
uses: actions/setup-java@v4.2.1
with:
distribution: 'temurin'
java-version: '21'
- name: Update Submodules - name: Update Submodules
run: | run: |
git submodule foreach --recursive 'git pull --rebase origin main --allow-unrelated-histories' git submodule foreach --recursive 'git pull --rebase origin main --allow-unrelated-histories'