fix: 修复 NDK 缓存不是绝对路径的问题
This commit is contained in:
parent
71abf6435f
commit
c9e6a09a0e
1 changed files with 5 additions and 2 deletions
5
.github/workflows/android_ci.yml
vendored
5
.github/workflows/android_ci.yml
vendored
|
|
@ -21,13 +21,16 @@ jobs:
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: set up JDK 21
|
- name: Set up JDK 21
|
||||||
uses: actions/setup-java@v5.2.0
|
uses: actions/setup-java@v5.2.0
|
||||||
with:
|
with:
|
||||||
java-version: '21'
|
java-version: '21'
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
cache: gradle
|
cache: gradle
|
||||||
|
|
||||||
|
- name: Export ANDROID_HOME to env
|
||||||
|
run: echo "ANDROID_HOME=$ANDROID_HOME" >> "$GITHUB_ENV"
|
||||||
|
|
||||||
- name: Cache NDK
|
- name: Cache NDK
|
||||||
id: cache-ndk
|
id: cache-ndk
|
||||||
uses: actions/cache@v5.0.3
|
uses: actions/cache@v5.0.3
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue