mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-08 14:52:13 -04:00
Merge pull request #4054 from kiwix/upload_artifact_in_existing_release
Fixed: APK files missing at releases since v3.8.1
This commit is contained in:
commit
04bf549fea
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
@ -18,6 +18,9 @@ jobs:
|
|||||||
java-version: 17
|
java-version: 17
|
||||||
distribution: temurin
|
distribution: temurin
|
||||||
|
|
||||||
|
- name: Set tag variable
|
||||||
|
run: echo "TAG=$(echo ${GITHUB_REF:10})" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Retrieve secrets to files
|
- name: Retrieve secrets to files
|
||||||
env:
|
env:
|
||||||
KEYSTORE: ${{ secrets.keystore }}
|
KEYSTORE: ${{ secrets.keystore }}
|
||||||
@ -46,13 +49,14 @@ jobs:
|
|||||||
# ./gradlew generateVersionCodeAndName
|
# ./gradlew generateVersionCodeAndName
|
||||||
# scp -P 30022 -vrp -i ssh_key -o StrictHostKeyChecking=no VERSION_INFO ci@master.download.kiwix.org:/data/download/release/kiwix-android/
|
# scp -P 30022 -vrp -i ssh_key -o StrictHostKeyChecking=no VERSION_INFO ci@master.download.kiwix.org:/data/download/release/kiwix-android/
|
||||||
|
|
||||||
- name: Publish to GitHub
|
- name: Upload APKs to Release
|
||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
artifacts: "app/build/outputs/apk/release/**"
|
artifacts: "app/build/outputs/apk/standalone/**"
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
draft: true
|
tag: ${{ env.TAG }}
|
||||||
prerelease: true
|
allowUpdates: true
|
||||||
|
replacesArtifacts: true
|
||||||
|
|
||||||
- name: Publish bundle to Google Play
|
- name: Publish bundle to Google Play
|
||||||
env:
|
env:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user