forked from jirutka/rsql-parser
-
Notifications
You must be signed in to change notification settings - Fork 4
36 lines (36 loc) · 862 Bytes
/
build.yaml
File metadata and controls
36 lines (36 loc) · 862 Bytes
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: Build
permissions:
checks: write
pull-requests: write
on:
push:
branches:
- master
- 3.x
pull_request:
types: [ opened, synchronize, reopened ]
jobs:
build:
name: Build
strategy:
fail-fast: false
matrix:
java-version: [ 8, 11, 17, 21, 24 ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: ${{ matrix.java-version }}
cache: 'gradle'
- name: Build
env:
RSQL_PARSER_GRADLE_USE_TOOLCHAIN: false
run: ./gradlew build
- uses: codecov/codecov-action@v5
if: matrix.java-version == 8
with:
verbose: true
token: ${{ secrets.CODECOV_TOKEN }}