-
Notifications
You must be signed in to change notification settings - Fork 6
41 lines (36 loc) · 1 KB
/
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
name: Android CI
on:
workflow_dispatch:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build-deps:
uses: ./.github/workflows/build-dependencies.yml
build:
env:
BUILD_TYPE: ${{ secrets.RELEASE_KEYSTORE == '' && 'Debug' || 'Release' }}
runs-on: ubuntu-latest
needs:
- build-deps
steps:
- run: env
- uses: actions/checkout@v4
with:
fetch-depth: '0'
- name: Build App (${{ env.BUILD_TYPE }})
uses: ./.github/actions/gradle
with:
buildType: ${{ env.BUILD_TYPE }}
runTests: false
keystore: ${{ secrets.RELEASE_KEYSTORE }}
keystorePassword: ${{ secrets.RELEASE_KEYSTORE_PASSWORD }}
- uses: actions/upload-artifact@v4
with:
name: ziti-mobile-edge-${{ env.BUILD_TYPE }}.aab
path: app/build/outputs/bundle/*/*.aab
- uses: actions/upload-artifact@v4
with:
name: ziti-mobile-edge-${{ env.BUILD_TYPE }}.apk
path: app/build/outputs/apk/*/*.apk