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