-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (30 loc) · 911 Bytes
/
alpha.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
name: Android CI
on:
push:
branches: [ "alpha" ]
jobs:
build:
runs-on: ubuntu-latest
environment: koyeb
env:
# this will take the entire vars context configured in the repository > environments
# setting and convert it to JSON so we can automatically assign all the values to the
# runner's environment
VARS_CONTEXT: ${{ toJson(vars) }}
SECRETS_CONTEXT: ${{ toJson(secrets) }}
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: gradle
- name: Build app
run: ./scripts/build_scripts/build-service-on-ci.sh koyeb
- uses: actions/upload-artifact@v4
with:
name: Signed app bundle
path: build/outputs/apk/release/