Skip to content

Commit

Permalink
Update android.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MrBoomDeveloper authored Mar 10, 2024
1 parent c7cccd6 commit 767914c
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,28 +25,22 @@ jobs:
- name: Build Release APK
run: ./gradlew assembleRelease

- name: Build Debug APK
run: ./gradlew assembleDebug

- name: Sign Release APK
uses: r0adkll/sign-android-release@v1
id: sign_app
with:
releaseDirectory: "app/build/outputs/apk/release"
signedReleaseFile: "app/build/outputs/apk/release/signed.apk"
signingKeyBase64: ${{ secrets.ANDROID_SIGNING_KEY }}
alias: ${{ secrets.ANDROID_KEY_ALIAS }}
keyStorePassword: ${{ secrets.ANDROID_KEYSTORE_PASSWORD }}
keyPassword: ${{ secrets.ANDROID_KEY_PASSWORD }}
env:
BUILD_TOOLS_VERSION: "34.0.0"

- name: Upload Release APK
uses: actions/upload-artifact@v4
with:
name: "Release APK"
retention-days: 90
path: "app/build/outputs/apk/release/app-release-unsigned-signed.apk"

- name: Upload Debug APK
uses: actions/upload-artifact@v4
with:
name: "Debug APK"
retention-days: 90
path: "app/build/outputs/apk/debug/*.apk"
path: "app/build/outputs/apk/release/signed.apk"

0 comments on commit 767914c

Please sign in to comment.