workflow
This commit is contained in:
parent
53fa1c51cb
commit
c377f4927c
1 changed files with 16 additions and 16 deletions
32
.github/workflows/main.yml
vendored
32
.github/workflows/main.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue