-
-
Notifications
You must be signed in to change notification settings - Fork 57
39 lines (39 loc) · 1.01 KB
/
main.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
---
name: Build
env:
EXODUS_API_KEY: ${{secrets.EXODUS_API_KEY}}
on:
push:
branches:
- master
pull_request:
branches:
- master
paths-ignore:
-'fastlane/**'
-'README.md'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v4
- name: Setup Java JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
- name: Run Kotlin Linter
run: ./gradlew app:ktlintCheck --info
- name: Generate debug build
run: ./gradlew assembleDebug
- name: Execute exodus-standalone
uses: docker://exodusprivacy/exodus-standalone:v1.4.0
with:
args: /github/workspace/app/build/outputs/apk/debug/app-debug.apk
- name: Upload APK
uses: actions/upload-artifact@v4
with:
name: app_debug
path: app/build/outputs/apk/debug/app-debug.apk