fix: 修复 NDK 缓存不是绝对路径的问题

This commit is contained in:
Super12138 2026-02-15 08:16:02 +08:00 committed by GitHub
parent 71abf6435f
commit c9e6a09a0e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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