Skip to content

ADD debug build workflow #4

ADD debug build workflow

ADD debug build workflow #4

Workflow file for this run

name: Debug Build
on:
workflow_dispatch:
push:
branches: [ '*' ] # run on all pushes on any branch
jobs:
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.
permissions: # TODO still needed?
packages: read
contents: read
steps:
- uses: actions/checkout@v3
- name: Prepare build
uses: ./.github/workflows/prepare
- name: Build Debug APK
run: ./gradlew assembleDebug --stacktrace
- name: Upload Debug APK to Artifacts
uses: actions/upload-artifact@v3
with:
name: ${{ github.run_number }}_apk_debug
path: |
${{ github.workspace }}/app/build/outputs/apk/debug/app-debug.apk
- name: Build Debug Bundle
run: ./gradlew bundleDebug --stacktrace
- name: Upload Debug Bundle to Artifacts
uses: actions/upload-artifact@v3
with:
name: ${{ github.run_number }}_apk_debug
path: |
${{ github.workspace }}/app/build/outputs/bundle/debug/app-debug.aab