Browse Source
Update and rename github_debug_apk.yml to github_release_apk.yml
renovate/org.robolectric-robolectric-4.x
Ammar Githam
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
14 additions and
3 deletions
-
.github/workflows/github_release_apk.yml
|
@ -24,11 +24,22 @@ jobs: |
|
|
run: chmod +x gradlew |
|
|
run: chmod +x gradlew |
|
|
|
|
|
|
|
|
- name: Build Github debug apk |
|
|
- 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 |
|
|
# Create artifact |
|
|
- name: Create apk artifact |
|
|
- name: Create apk artifact |
|
|
uses: actions/upload-artifact@v2 |
|
|
uses: actions/upload-artifact@v2 |
|
|
with: |
|
|
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}} |