mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-03 10:46:53 -04:00
move download.kiwix.org publish up in order
This commit is contained in:
parent
91a999f3b9
commit
5142c7f63d
29
.github/workflows/release.yml
vendored
29
.github/workflows/release.yml
vendored
@ -31,13 +31,6 @@ jobs:
|
||||
- name: Set tag variable
|
||||
run: echo "TAG=$(echo ${GITHUB_REF:10})" >> $GITHUB_ENV
|
||||
|
||||
- name: Publish app to play store
|
||||
env:
|
||||
KEY_ALIAS: ${{ secrets.KEY_ALIAS }}
|
||||
KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}
|
||||
KEY_STORE_PASSWORD: ${{ secrets.KEY_STORE_PASSWORD }}
|
||||
run: ./gradlew publishReleaseBundle
|
||||
|
||||
- name: Publish app to download.kiwix.org
|
||||
env:
|
||||
KEY_ALIAS: ${{ secrets.KEY_ALIAS }}
|
||||
@ -49,10 +42,18 @@ jobs:
|
||||
cp $UNIVERSAL_RELEASE_APK kiwix-${TAG}.apk
|
||||
scp -P 30022 -vrp -i ssh_key -o StrictHostKeyChecking=no kiwix-${TAG}.apk ci@master.download.kiwix.org:/data/download/release/kiwix-android/
|
||||
|
||||
- name: Publish to github releases
|
||||
uses: ncipollo/release-action@v1
|
||||
with:
|
||||
artifacts: "app/build/outputs/apk/release/**"
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
draft: true
|
||||
prerelease: true
|
||||
- name: Publish to github releases
|
||||
uses: ncipollo/release-action@v1
|
||||
with:
|
||||
artifacts: "app/build/outputs/apk/release/**"
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
draft: true
|
||||
prerelease: true
|
||||
|
||||
|
||||
- name: Publish app to play store
|
||||
env:
|
||||
KEY_ALIAS: ${{ secrets.KEY_ALIAS }}
|
||||
KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}
|
||||
KEY_STORE_PASSWORD: ${{ secrets.KEY_STORE_PASSWORD }}
|
||||
run: ./gradlew publishReleaseBundle
|
||||
|
Loading…
x
Reference in New Issue
Block a user