-
-
Notifications
You must be signed in to change notification settings - Fork 472
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4054 from kiwix/upload_artifact_in_existing_release
Fixed: APK files missing at releases since v3.8.1
- Loading branch information
Showing
1 changed file
with
8 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,9 @@ jobs: | |
java-version: 17 | ||
distribution: temurin | ||
|
||
- name: Set tag variable | ||
run: echo "TAG=$(echo ${GITHUB_REF:10})" >> $GITHUB_ENV | ||
|
||
- name: Retrieve secrets to files | ||
env: | ||
KEYSTORE: ${{ secrets.keystore }} | ||
|
@@ -46,13 +49,14 @@ jobs: | |
# ./gradlew generateVersionCodeAndName | ||
# scp -P 30022 -vrp -i ssh_key -o StrictHostKeyChecking=no VERSION_INFO [email protected]:/data/download/release/kiwix-android/ | ||
|
||
- name: Publish to GitHub | ||
- name: Upload APKs to Release | ||
uses: ncipollo/release-action@v1 | ||
with: | ||
artifacts: "app/build/outputs/apk/release/**" | ||
artifacts: "app/build/outputs/apk/standalone/**" | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
draft: true | ||
prerelease: true | ||
tag: ${{ env.TAG }} | ||
allowUpdates: true | ||
replacesArtifacts: true | ||
|
||
- name: Publish bundle to Google Play | ||
env: | ||
|