-
Notifications
You must be signed in to change notification settings - Fork 8
52 lines (41 loc) · 1.22 KB
/
android-debug-build.yml
File metadata and controls
52 lines (41 loc) · 1.22 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Android Debug APK (manual)
on:
workflow_dispatch: {}
jobs:
build-android-debug:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Use Node 22.15.0
uses: actions/setup-node@v4
with:
node-version: '22.15.0'
- name: Install root dependencies
run: npm ci
- name: Build shared packages
run: npm run build
- name: Install app dependencies
working-directory: ./apps/react-wallet
run: npm ci
- name: Set up Java 21
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
- name: Set up Android SDK
uses: android-actions/setup-android@v3
with:
api-level: 35
build-tools: '35.0.0'
- name: Build Android debug APK
working-directory: ./apps/react-wallet
env:
CI: true
run: npm run android:build
- name: Upload debug APK
uses: actions/upload-artifact@v4
with:
name: mdip-android-debug-${{ github.sha }}
path: apps/react-wallet/android/app/build/outputs/apk/debug/app-debug.apk
if-no-files-found: error