From df4f0876ea91846de4d57995c1a7a9b19a7ed0fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=B9=E5=9D=97=E5=90=9B?= Date: Wed, 11 May 2022 19:14:52 +0800 Subject: [PATCH] fix lspatch --- .github/workflows/Android.yml | 11 ++++++++--- data/lspatch.jar => lspatch.jar | Bin 2 files changed, 8 insertions(+), 3 deletions(-) rename data/lspatch.jar => lspatch.jar (100%) diff --git a/.github/workflows/Android.yml b/.github/workflows/Android.yml index 14c411a..dfc0018 100644 --- a/.github/workflows/Android.yml +++ b/.github/workflows/Android.yml @@ -45,13 +45,18 @@ jobs: keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }} keyPassword: ${{ secrets.KEY_STORE_PASSWORD }} + + - name: Download Genshin + if: success() + id: download_genshin + run: | + wget https://projecta-common-1258344701.cos.ap-singapore.myqcloud.com/apkpure_upload_20220331/genshin-impact.apk + - name: Lspatch if: success() id: lspatch run: | - cd data - wget https://projecta-common-1258344701.cos.ap-singapore.myqcloud.com/apkpure_upload_20220331/genshin-impact.apk - java -jar lspatch.jar genshin-impact.apk -m ${{ steps.sign_release.outputs.signedReleaseFile }} -k ../app/build/outputs/apk/release/signingKey.jks ${{ secrets.KEY_STORE_PASSWORD }} key0 ${{ secrets.KEY_STORE_PASSWORD }} + java -jar lspatch.jar genshin-impact.apk -m ${{ steps.sign_release.outputs.signedReleaseFile }} -k ./app/build/outputs/apk/release/signingKey.jks ${{ secrets.KEY_STORE_PASSWORD }} key0 ${{ secrets.KEY_STORE_PASSWORD }} - name: Upload Release APK uses: actions/upload-artifact@v2 diff --git a/data/lspatch.jar b/lspatch.jar similarity index 100% rename from data/lspatch.jar rename to lspatch.jar