-
Notifications
You must be signed in to change notification settings - Fork 169
39 lines (33 loc) · 855 Bytes
/
Copy pathpre-merge.yml
File metadata and controls
39 lines (33 loc) · 855 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
38
39
name: Pre Merge Checks
on:
push:
branches:
- main
pull_request:
branches:
- '*'
jobs:
gradle:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
- name: Build and Test everything
uses: gradle/gradle-build-action@v3
with:
arguments: build publishToMavenLocal
- name: Upload Library Artifacts
uses: actions/upload-artifact@v7
with:
name: 'snapshot-artifacts'
path: '~/.m2/repository/'
- name: Upload the built Apk
uses: actions/upload-artifact@v7
with:
name: debug-apk
path: example/build/outputs/apk/debug/example-debug.apk