Skip to content

Commit

Permalink
fix: android add version
Browse files Browse the repository at this point in the history
  • Loading branch information
zeromake committed Oct 22, 2023
1 parent df9af82 commit 6b16053
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
VERSION: ${{ github.ref_name }}
ARCH: arm64
run: |
xmake f -a arm64 -c -y
xmake f -a arm64 -c -y -vD
xmake build -y onscripter
- uses: actions/upload-artifact@v3
with:
Expand All @@ -82,9 +82,11 @@ jobs:
- name: cert
env:
CERT_TEXT: ${{ secrets.CERT_TEXT }}
VERSION: ${{ github.ref_name }}
run: |
cd project/android
echo "org.gradle.java.home=$JAVA_HOME_11_X64" >> gradle.properties
echo "org.gradle.java.home=${JAVA_HOME_11_X64}" >> gradle.properties
echo "versionName=${VERSION}" >> local.properties
echo "$CERT_TEXT" > cert.txt
cat cert.txt | base64 -d > cert.tar.xz
tar -xf cert.tar.xz
Expand All @@ -107,7 +109,7 @@ jobs:
env:
VERSION: ${{ github.ref_name }}
run: |
xmake f -p android -a armeabi-v7a --ndk_sdkver=16 --ndk=${ANDROID_HOME}/ndk/23.2.8568313 -y -c
xmake f -p android -a armeabi-v7a --ndk_sdkver=16 --ndk=${ANDROID_HOME}/ndk/23.2.8568313 -y -c -vD
xmake build -y onscripter
- name: build-apk
run: |
Expand Down

0 comments on commit 6b16053

Please sign in to comment.