1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-12-25 22:26:59 +00:00

Update and rename github_debug_apk.yml to github_release_apk.yml

This commit is contained in:
Ammar Githam 2021-03-26 21:20:11 +09:00 committed by GitHub
parent 541c1a2252
commit 250f25a7c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,11 +24,22 @@ jobs:
run: chmod +x gradlew
- name: Build Github debug apk
run: ./gradlew assembleGithubDebug --stacktrace
run: ./gradlew assembleGithubRelease --stacktrace
- name: Sign APK
uses: r0adkll/sign-android-release@v1
# ID used to access action output
id: sign_app
with:
releaseDirectory: app/github/release
signingKeyBase64: ${{ secrets.SIGNING_KEY }}
alias: ${{ secrets.ALIAS }}
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
keyPassword: ${{ secrets.KEY_PASSWORD }}
# Create artifact
- name: Create apk artifact
uses: actions/upload-artifact@v2
with:
name: app
path: app/build/outputs/apk/github/debug/app-github-debug.apk
name: app-github-release.apk
path: ${{steps.sign_app.outputs.signedReleaseFile}}