-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (32 loc) · 986 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
35
36
37
38
39
40
name: Android CI
on:
push:
branches: [ "alpha" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- name: set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: gradle
- name: Prepare env
run: |
chmod +x scripts/generate-mini-env-for-app.sh
./scripts/generate-mini-env-for-app.sh https://respectable-jobie-anabn-3d54150c.koyeb.app
- name: Build app
run: |
chmod +x gradlew
./gradlew build
- name: Rename
run: mv composeApp/build/outputs/apk/*.apk composeApp/build/outputs/apk/A-release.apk
# Example use of `signedReleaseFile` output -- not needed
- uses: actions/upload-artifact@v3
with:
name: Signed app bundle
path: composeApp/build/outputs/apk/release/A-release.apk