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
parent
commit
250f25a7c9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 17
      .github/workflows/github_release_apk.yml

17
.github/workflows/github_debug_apk.yml → .github/workflows/github_release_apk.yml

@ -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…
Cancel
Save