-
-
Notifications
You must be signed in to change notification settings - Fork 150
55 lines (55 loc) · 1.56 KB
/
build-android.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: Build Android
on:
workflow_dispatch:
inputs:
branch:
description: 'The branch to build'
required: true
permissions:
users:
- kaloudis
push:
branches:
- "master"
jobs:
build-android:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v4
- name: Envinfo
run: npx envinfo
- name: Build application
run: chmod +x build.sh && bash ./build.sh --no-tty
- name: 'Archive arm64-v8a'
uses: actions/upload-artifact@v4
with:
name: arm64-v8a
path: android/app/build/outputs/apk/release/zeus-arm64-v8a.apk
retention-days: 5
- name: 'Archive armeabi-v7a'
uses: actions/upload-artifact@v4
with:
name: armeabi-v7a
path: android/app/build/outputs/apk/release/zeus-armeabi-v7a.apk
retention-days: 5
- name: 'Archive universal'
uses: actions/upload-artifact@v4
with:
name: universal
path: android/app/build/outputs/apk/release/zeus-universal.apk
retention-days: 5
- name: 'Archive x86'
uses: actions/upload-artifact@v4
with:
name: x86
path: android/app/build/outputs/apk/release/zeus-x86.apk
retention-days: 5
- name: 'Archive x86_64'
uses: actions/upload-artifact@v4
with:
name: x86_64
path: android/app/build/outputs/apk/release/zeus-x86_64.apk
retention-days: 5