mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-18 00:46:45 +00:00
build: test autosigning android apk
This commit is contained in:
parent
d91adfaeb3
commit
bd117ce683
2 changed files with 2 additions and 9 deletions
9
.github/workflows/build-android.yml
vendored
9
.github/workflows/build-android.yml
vendored
|
|
@ -68,14 +68,7 @@ jobs:
|
|||
ls -la android/app/build/outputs/apk/play
|
||||
ls -la android/app/build/outputs/apk/play/release
|
||||
|
||||
- name: Sign APK
|
||||
run: |
|
||||
jarsigner -verbose -sigalg SHA256withRSA -digestalg SHA-256 \
|
||||
-keystore keystore.jks \
|
||||
-storepass ${{ secrets.DROID_KEYSTORE_PASSWORD }} \
|
||||
-keypass ${{ secrets.DROID_KEY_PASSWORD }} \
|
||||
android/app/build/outputs/apk/play/release/app-play-release-unsigned.apk \
|
||||
${{ secrets.DROID_KEYSTORE_ALIAS }}
|
||||
# APK is now signed automatically by Gradle using signingConfig
|
||||
|
||||
- name: 'Upload Artifact'
|
||||
uses: actions/upload-artifact@v4
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ android {
|
|||
buildConfigField "String", key, value.toString()
|
||||
}
|
||||
|
||||
// signingConfig signingConfigs.release
|
||||
signingConfig signingConfigs.release
|
||||
minifyEnabled false
|
||||
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue