-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (33 loc) · 925 Bytes
/
build.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 Build
on:
push:
pull_request:
env:
LC_ALL: en_US.UTF-8
GRADLE_OPTS: -Dorg.gradle.parallel=false
jobs:
Build_Matrix:
strategy:
matrix:
os: [ ubuntu-latest ]
java: [ 17 ]
runner: [ 'xvfb-run --auto-servernum {0}' ]
name: JDK${{ matrix.java }} ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- name: Git Checkout
uses: actions/checkout@v3
- name: Gradle Wrapper Validation
uses: gradle/wrapper-validation-action@v1
- name: Set up Java ${{ matrix.java }}
uses: actions/setup-java@v3
with:
distribution: "temurin"
cache: "gradle"
java-version: ${{ matrix.java }}
- name: Grant execute permission for gradlew
run: chmod +x ./gradlew
- name: Gradle version
run: ./gradlew --no-daemon --version
- name: Build with Gradle
run: ./gradlew clean build --info