fix(ci): 尝试修复签名错误的问题
This commit is contained in:
parent
e9619c0432
commit
91d6a0508e
1 changed files with 8 additions and 8 deletions
16
.github/workflows/android_ci.yml
vendored
16
.github/workflows/android_ci.yml
vendored
|
|
@ -23,6 +23,9 @@ jobs:
|
|||
java-version: '21'
|
||||
distribution: 'temurin'
|
||||
cache: gradle
|
||||
|
||||
- name: Install NDK 27.0.12077973
|
||||
run: echo "y" | sudo ${ANDROID_HOME}/cmdline-tools/latest/bin/sdkmanager --install 'ndk;27.0.12077973'
|
||||
|
||||
- name: Grant execute permission for gradlew
|
||||
run: chmod +x gradlew
|
||||
|
|
@ -38,14 +41,11 @@ jobs:
|
|||
echo ${{ secrets.SIGNING_KEY }} | base64 --decode > ${{ github.workspace }}/key.jks
|
||||
fi
|
||||
|
||||
- name: Cache NDK
|
||||
uses: actions/cache@v4.2.3
|
||||
with:
|
||||
path: ${ANDROID_HOME}/ndk/27.0.12077973
|
||||
key: ndk-cache
|
||||
|
||||
- name: Install NDK
|
||||
run: echo "y" | sudo ${ANDROID_HOME}/cmdline-tools/latest/bin/sdkmanager --install 'ndk;27.0.12077973'
|
||||
# - name: Cache NDK
|
||||
# uses: actions/cache@v4.2.3
|
||||
# with:
|
||||
# path: ${ANDROID_HOME}/ndk/27.0.12077973
|
||||
# key: ndk-cache
|
||||
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew assembleRelease
|
||||
|
|
|
|||
Loading…
Reference in a new issue