mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-25 08:07:29 +00:00
Update and rename github_debug_apk.yml to github_release_apk.yml
This commit is contained in:
parent
541c1a2252
commit
250f25a7c9
@ -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}}
|
Loading…
Reference in New Issue
Block a user