-
Notifications
You must be signed in to change notification settings - Fork 120
42 lines (36 loc) · 1.05 KB
/
asm_build.yml
File metadata and controls
42 lines (36 loc) · 1.05 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
name: Build Android Code Studio
on:
push:
branches: [ "dev", "main", "indexing", "release/**" ]
pull_request:
branches: [ "dev" ]
workflow_dispatch: { }
jobs:
build:
name: Build Android APK
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: 'recursive'
fetch-depth: 0
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Grant Execute Permission
run: chmod +x gradlew
- name: Clean and Assemble Debug APK
run: |
# Pehle saari purani cache aur build folders saaf karo
./gradlew clean
# Assemble Debug (Default signing ke sath)
./gradlew :core:app:assembleDebug --no-daemon --stacktrace
- name: Upload Debug APK
uses: actions/upload-artifact@v4
with:
name: app-debug-apk
path: core/app/build/outputs/apk/debug/*.apk
if-no-files-found: error