-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (37 loc) · 994 Bytes
/
CI.yaml
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
40
41
42
43
name: CI
on:
pull_request:
workflow_dispatch:
jobs:
build:
strategy:
matrix:
os: [ 'macos-latest' ]
runs-on: ${{ matrix.os }}
env:
BUILDLESS_APIKEY: ${{ secrets.BUILDLESS_APIKEY }}
steps:
- uses: actions/checkout@v3
- name: "Setup: Buildless"
uses: buildless/[email protected]
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: |
11
17
distribution: 'temurin'
cache: gradle
- name: Checkout Gradle Build Cache
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
~/.konan/dependencies
~/.konan/cache
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Build Project
run: ./gradlew build --no-daemon