forked from introproventures/graphql-jpa-query
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (33 loc) · 831 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
37
38
39
name: CI
on:
workflow_dispatch:
push:
branches: [ "master" ]
paths-ignore:
- '**/README.md'
pull_request:
branches: [ "master" ]
paths-ignore:
- '**/README.md'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '17', '19', '21' ]
steps:
- uses: actions/checkout@v4
- name: Set up Maven
uses: stCarolas/setup-maven@v5
with:
maven-version: 3.9.6
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn --show-version -B -q -ntp install
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3