-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
37 lines (34 loc) · 897 Bytes
/
.gitlab-ci.yml
File metadata and controls
37 lines (34 loc) · 897 Bytes
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
stages:
- build
variables:
GRADLE_OPTS: "-Dorg.gradle.daemon=false -Dorg.gradle.vfs.watch=false -Dorg.gradle.caching=true"
GRADLE_USER_HOME: .gradle/
default:
image: fabernovel/android:api-33-ndk-v1.7.0
cache: &gradle-cache
key:
files:
- gradle/wrapper/gradle-wrapper.properties
paths:
- .gradle/caches/
- .gradle/notifications/
- .gradle/wrapper/
policy: pull
build_android:
only:
refs:
- main
tags: ["fydarjeeling-docker"]
stage: build
cache:
<<: *gradle-cache
policy: pull-push
variables:
SECURE_FILES_DOWNLOAD_PATH: './'
script:
- apt update && apt install -y curl
- curl --silent "https://gitlab.com/gitlab-org/incubation-engineering/mobile-devops/download-secure-files/-/raw/main/installer" | bash
- ./gradlew assembleRelease
artifacts:
paths:
- app/build/outputs/apk/release