workflow
This commit is contained in:
parent
0b7c6b7e1e
commit
2fc7aa2e47
1 changed files with 7 additions and 28 deletions
35
.github/workflows/main.yml
vendored
35
.github/workflows/main.yml
vendored
|
@ -77,6 +77,11 @@ jobs:
|
|||
sed -i 's/enumPreference("app_theme", AppTheme.DARK)/enumPreference("app_theme", AppTheme.MUTED_PURPLE)/' \
|
||||
app-release/app/src/main/java/org/jellyfin/androidtv/preference/UserPreferences.kt
|
||||
|
||||
- name: Update SelectServerFragment.kt
|
||||
run: |
|
||||
sed -i 's/jellyfin-androidtv/alaskartv-androidtv/' \
|
||||
app-release/app/src/main/java/org/jellyfin/androidtv/ui/startup/fragment/SelectServerFragment.kt
|
||||
|
||||
- name: Check files
|
||||
run: |
|
||||
echo "Updated Changes"
|
||||
|
@ -84,6 +89,7 @@ jobs:
|
|||
cat app-release/app/src/main/res/values/strings.xml
|
||||
cat app-release/app/src/main/java/org/jellyfin/androidtv/preference/UserPreferences.kt
|
||||
cat app-release/app/src/main/java/org/jellyfin/androidtv/ui/preference/category/about.kt
|
||||
cat app-release/app/src/main/java/org/jellyfin/androidtv/ui/startup/fragment/SelectServerFragment.kt
|
||||
|
||||
|
||||
|
||||
|
@ -115,39 +121,12 @@ jobs:
|
|||
uses: ilharp/sign-android-release@v1 # Or use @nightly
|
||||
id: sign_app
|
||||
with:
|
||||
releaseDir: app/build/outputs/apk/release
|
||||
releaseDir: app-release/app/build/outputs/apk/release
|
||||
signingKey: ${{ secrets.KEYSTORE_FILE }}
|
||||
keyAlias: ${{ secrets.KEYSTORE_ALIAS }}
|
||||
keyStorePassword: ${{ secrets.KEYSTORE_PASSWORD }}
|
||||
buildToolsVersion: 35.0.0
|
||||
|
||||
# # Step 8: Sign
|
||||
# - name: Decode Keystore
|
||||
# env:
|
||||
# KEYSTORE_FILE: ${{ secrets.KEYSTORE_FILE }}
|
||||
# run: |
|
||||
# echo "$KEYSTORE_FILE" | base64 -d > keystore.jks
|
||||
#
|
||||
# # Step 9: Sign the APK
|
||||
# - name: Sign APK
|
||||
# env:
|
||||
# KEYSTORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }}
|
||||
# KEYSTORE_ALIAS: ${{ secrets.KEYSTORE_ALIAS }}
|
||||
# KEY_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }}
|
||||
# run: |
|
||||
# jarsigner -verbose -sigalg SHA256withRSA -digestalg SHA-256 \
|
||||
# -keystore keystore.jks \
|
||||
# -storepass "$KEYSTORE_PASSWORD" \
|
||||
# -keypass "$KEYSTORE_PASSWORD" \
|
||||
# app-release/app/build/outputs/apk/release/alaskartv-androidtv-v${{ env.VERSION_NAME }}-release-unsigned.apk \
|
||||
# "$KEYSTORE_ALIAS"
|
||||
#
|
||||
# # Step 9: Verify APK Signature
|
||||
# - name: Verify APK Signature
|
||||
# run: |
|
||||
# jarsigner -verify -verbose -certs \
|
||||
# app-release/app/build/outputs/apk/release/alaskartv-androidtv-v${{ env.VERSION_NAME }}-release-unsigned.apk
|
||||
|
||||
# Step 11: Upload Signed APK as Artifact
|
||||
- name: Upload Signed APK
|
||||
uses: actions/upload-artifact@v4
|
||||
|
|
Loading…
Reference in a new issue