forked from prestodb/tempto
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (34 loc) · 909 Bytes
/
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: Java CI with Gradle
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
java-version:
- 8
steps:
- uses: actions/checkout@v4
with:
show-progress: false
fetch-depth: 0
# Step to set up JDK
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java-version }}
distribution: 'temurin'
cache: gradle
# Step to set up gradle.properties
- name: Set up gradle.properties
run: |
cp gradle.properties.example gradle.properties
grep -q '^skipSigning=' gradle.properties || echo "skipSigning=false" >> gradle.properties
# Step to run Gradle build
- name: Gradle Build
run: ./gradlew build