Skip to content

Commit

Permalink
Fixed: APK files missing at releases since v3.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
MohitMaliDeveloper authored and kelson42 committed Nov 20, 2024
1 parent ef3a006 commit 6ecbec0
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 6ecbec0

Please sign in to comment.