forked from jsettlers/settlers-remake
-
Notifications
You must be signed in to change notification settings - Fork 18
36 lines (33 loc) · 787 Bytes
/
CI.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
name: CI
on:
pull_request:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '11'
- uses: jonasb/android-problem-matchers-action@v1
- uses: gradle/gradle-build-action@v2
with:
arguments: release
- uses: actions/upload-artifact@v2
with:
name: Release
path: 'release/*'
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '11'
- uses: jonasb/android-problem-matchers-action@v1
- uses: gradle/gradle-build-action@v2
with:
arguments: test --info