-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (28 loc) · 1.06 KB
/
debug.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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/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