mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-03 18:56:44 -04:00
Uploading release
APK in Github release instead of standalone
APK.
* To resolve the publishing issue on `IzzyOnDroid`, we are now uploading the `Release` APK(with `org.kiwix.kiwixmobile` package name) to the GitHub release, allowing `IzzyOnDroid` to easily retrieve the APK and upload it to their platform.
This commit is contained in:
parent
116180e6f0
commit
b477f5b3bf
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -38,7 +38,7 @@ jobs:
|
||||
UNIVERSAL_RELEASE_APK: app/build/outputs/apk/standalone/*universal*.apk
|
||||
ARCHIVE_NAME: kiwix-${{ github.event.release.tag_name }}.apk
|
||||
run: |
|
||||
./gradlew assembleStandalone
|
||||
./gradlew assembleStandalone assembleRelease
|
||||
cp ${UNIVERSAL_RELEASE_APK} ${ARCHIVE_NAME}
|
||||
scp -P 30022 -vrp -i ssh_key -o StrictHostKeyChecking=no "$ARCHIVE_NAME" ci@master.download.kiwix.org:/data/download/release/kiwix-android/
|
||||
|
||||
@ -52,7 +52,7 @@ jobs:
|
||||
- name: Upload APKs to Release
|
||||
uses: ncipollo/release-action@v1
|
||||
with:
|
||||
artifacts: "app/build/outputs/apk/standalone/**"
|
||||
artifacts: "app/build/outputs/apk/release/**"
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
tag: ${{ env.TAG }}
|
||||
allowUpdates: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user