Update build tools and libraries #56
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous Integration | |
on: | |
pull_request: null | |
push: | |
branches: [ master ] | |
jobs: | |
analyze: | |
runs-on: ubuntu-latest | |
container: alvrme/alpine-android:android-34-jdk17 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run Detekt | |
run: ./gradlew detekt | |
test: | |
runs-on: ubuntu-latest | |
container: alvrme/alpine-android:android-34-jdk17 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run Unit Tests | |
run: ./gradlew testDebugUnitTest | |
build: | |
runs-on: ubuntu-latest | |
container: alvrme/alpine-android:android-34-jdk17 | |
env: | |
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }} | |
KEYSTORE_BASE64: ${{ secrets.KEYSTORE_BASE64 }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Decode keystore | |
run: echo $KEYSTORE_BASE64 | base64 --decode > keystore.jks | |
- name: Build AAB | |
run: ./gradlew bundleRelease | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: App Bundle | |
path: app/build/outputs/bundle/release/*.aab |