Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
byungtak-lee committed Sep 23, 2024
1 parent e280523 commit cadc9b1
Showing 1 changed file with 27 additions and 7 deletions.
34 changes: 27 additions & 7 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,20 +68,40 @@ jobs:
- name: Build assemble debug apk
run: ./gradlew assembleDebug --stacktrace

# - name: Build assemble release apk
# run: ./gradlew assembleRelease --stacktrace
- name: Build assemble release apk
run: ./gradlew assembleRelease --stacktrace

- name: Upload Debug APK
uses: actions/upload-artifact@v3
with:
name: debug
path: ./app/build/outputs/apk/debug/app-debug.apk

# - name: Upload Release APK
# uses: actions/upload-artifact@v3
# with:
# name: release
# path: ./app/build/outputs/apk/release/app-release-unsigned.apk
- name : Signing Release APK
uses: r0adkll/sign-android-release@v1
# ID used to access action output
id: sign_app
with:
releaseDirectory: app/build/outputs/apk/release
signingKeyBase64: ${{ secrets.SIGNING_KEY }}
alias: ${{ secrets.ALIAS }}
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
keyPassword: ${{ secrets.KEY_PASSWORD }}
env:
# override default build-tools version (33.0.0) -- optional
BUILD_TOOLS_VERSION: "34.0.0"

# Example use of `signedReleaseFile` output -- not needed
- uses: actions/upload-artifact@v2
with:
name: Signed app bundle
path: ${{steps.sign_app.outputs.signedReleaseFile}}

# - name: Upload Release APK
# uses: actions/upload-artifact@v3
# with:
# name: release
# path: ./app/build/outputs/apk/release/app-release.apk
#
# - name: Upload apk to Firebase App Distribution
# uses: wzieba/Firebase-Distribution-Github-Action@v1
Expand Down

0 comments on commit cadc9b1

Please sign in to comment.