-
Notifications
You must be signed in to change notification settings - Fork 10
39 lines (30 loc) · 955 Bytes
/
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
# SPDX-FileCopyrightText: 2022 Foundation Devices Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
name: Android build
on:
pull_request:
types:
- closed
workflow_dispatch:
jobs:
build-android:
if: github.event.pull_request.merged == true || github.event_name == 'workflow_dispatch'
runs-on: self-hosted
steps:
- uses: extractions/setup-just@v1
- uses: actions/checkout@v2
- name: Build APK and AAB
env:
KEY_JKS: ${{ secrets.KEY_JKS }}
KEY_PASSWORD: ${{ secrets.ALIAS_PASSWORD }}
ALIAS_PASSWORD: ${{ secrets.KEY_PASSWORD }}
run: echo -n $KEY_JKS | base64 -di > android/key.jks && just docker-build-android-sign
- uses: actions/upload-artifact@v2
with:
name: envoy-apk
path: release/app-release.apk
- uses: actions/upload-artifact@v2
with:
name: envoy-aab
path: release/app-release.aab