Skip to content

CI: upload to firebase app distribution + run unittests on each commit #55

CI: upload to firebase app distribution + run unittests on each commit

CI: upload to firebase app distribution + run unittests on each commit #55

Workflow file for this run

name: Release Builds
on:
workflow_dispatch:
pull_request:
branches: [ '*' ] # run on all pull requests
jobs:
prepare-all:
uses: ./.github/workflows/_prepare-all.yml
prepare-release:
uses: ./.github/workflows/_prepare-release.yml
build:
runs-on: macos-latest # use [ self-hosted, macOS ] to host on our own mac mini, which is twice as fast and cheaper than hosting on a github runner. See README for more info.
steps:
- uses: actions/checkout@v3
- name: Prepare release
uses: ./.github/workflows/_prepare-release.yml
- name: Build Prod Release APK
env:
RELEASE_KEYSTORE_PASSWORD: ${{ secrets.RELEASE_KEYSTORE_PASSWORD }}
RELEASE_KEYSTORE_ALIAS: ${{ secrets.RELEASE_KEYSTORE_ALIAS }}
RELEASE_KEY_PASSWORD: ${{ secrets.RELEASE_KEY_PASSWORD }}
run: ./gradlew assembleProdRelease --stacktrace
- name: Upload Release APK to Artifacts
uses: actions/upload-artifact@v3
with:
name: ${{ github.event.repository.name }}-${{ github.run_number }}-prod-release-apk
path: |
${{ github.workspace }}/app/build/outputs/apk/prod/release/app-prod-release.apk