-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (43 loc) · 1.36 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: Android CI
on:
push:
branches: [ "alpha" ]
paths:
- '.github/workflows/alpha.yml'
- 'composeApp/**'
- 'shared/**'
- 'scripts/build_scripts/build-app-on-ci.sh'
- 'scripts/tool_scripts/modify-flavor.sh'
- 'gradle/**'
- 'crypto-jvm/**'
- 'client-lib/**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
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 mini app
run: ./scripts/build_scripts/build-app-on-ci.sh mini acommunity.link/
- name: Build koyeb app
run: ./scripts/build_scripts/build-app-on-ci.sh koyeb respectable-jobie-anabn-3d54150c.koyeb.app/server/
- uses: actions/upload-artifact@v4
with:
name: Signed A Bundle
path: build/outputs/apk/release/