From c377f4927cb80db97d62d77dc833b00c95d5bafa Mon Sep 17 00:00:00 2001 From: nomadics9 Date: Sun, 15 Dec 2024 17:33:56 +0300 Subject: [PATCH] workflow --- .github/workflows/main.yml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0d99b0e..005a3b9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -108,28 +108,28 @@ jobs: run: find app-release -name "*.apk" - - name: Sign APK with Debug Keystore - run: | - keytool -genkey -v -keystore debug.keystore \ - -storepass android -alias androiddebugkey -keypass android \ - -dname "CN=Android Debug,O=Android,C=US" -keyalg RSA -validity 36500 - - jarsigner -verbose -sigalg SHA256withRSA -digestalg SHA-256 \ - -keystore debug.keystore -storepass android -keypass android \ - app-release/app/build/outputs/apk/release/alaskartv-androidtv-v${{ env.VERSION_NAME }}-debug-unsigned.apk \ - androiddebugkey - - - name: Verify APK Signature - run: | - jarsigner -verify -verbose -certs \ - app-release/app/build/outputs/apk/release/alaskartv-androidtv-v${{ env.VERSION_NAME }}-debug-unsigned.apk + # - name: Sign APK with Debug Keystore + # run: | + # keytool -genkey -v -keystore debug.keystore \ + # -storepass android -alias androiddebugkey -keypass android \ + # -dname "CN=Android Debug,O=Android,C=US" -keyalg RSA -validity 36500 + # + # jarsigner -verbose -sigalg SHA256withRSA -digestalg SHA-256 \ + # -keystore debug.keystore -storepass android -keypass android \ + # app-release/app/build/outputs/apk/release/alaskartv-androidtv-v${{ env.VERSION_NAME }}-debug-unsigned.apk \ + # androiddebugkey + # + # - name: Verify APK Signature + # run: | + # jarsigner -verify -verbose -certs \ + # app-release/app/build/outputs/apk/release/alaskartv-androidtv-v${{ env.VERSION_NAME }}-debug-unsigned.apk # Step 10: Upload APK as Artifact - name: Upload APK as Artifact uses: actions/upload-artifact@v4 with: name: unsigned-apk - path: app-release/app/build/outputs/apk/release/alaskartv-androidtv-v${{ env.VERSION_NAME }}-debug-unsigned.apk + path: app-release/app/build/outputs/apk/release/alaskartv-androidtv-v${{ env.VERSION_NAME }}-debug.apk # # Step 10: Sign the APK # - name: Sign APK