Skip to content

ADD shared action logic #10

ADD shared action logic

ADD shared action logic #10

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.
steps:
- uses: actions/checkout@v3
- name: Prepare build
uses: ./.github/workflows/scripts/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/dev/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/dev/debug/app-debug.aab