-
Notifications
You must be signed in to change notification settings - Fork 33
39 lines (39 loc) · 1.09 KB
/
gradle.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: gradle
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
gradle:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
java: [17]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- uses: eskatos/gradle-command-action@v1
with:
wrapper-cache-enabled: false
arguments: check --info --no-daemon --stacktrace
- uses: eskatos/gradle-command-action@v1
# Normally, macOS runs faster than the other two
if: matrix.os == 'macOS-latest' && matrix.java == '17'
with:
arguments: "assemble sourcesJar jarDep --info --no-daemon --stacktrace"
- uses: actions/upload-artifact@master
if: matrix.os == 'macOS-latest' && matrix.java == '17'
with:
name: API
path: api/build/libs
- uses: actions/upload-artifact@master
if: matrix.os == 'macOS-latest' && matrix.java == '17'
with:
name: Arend
path: cli/build/libs