-
Notifications
You must be signed in to change notification settings - Fork 22
42 lines (35 loc) · 995 Bytes
/
ci.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
40
41
42
name: ci-sauce CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
strategy:
matrix:
platform: [ ubuntu-latest, macos-latest, windows-latest ]
fail-fast: false
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install JDK 11
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 11
cache: 'maven'
- name: Build
shell: bash
run: ./mvnw install -Dgpg.skip=true -B -V
# As per https://github.com/codecov/codecov-action/issues/295 the repo needs to be
# registered to be able to use https://github.com/codecov/codecov-action
- name: Upload coverage to Codecov
if: matrix.platform == 'ubuntu-latest'
run: |
curl -Os https://uploader.codecov.io/latest/linux/codecov
chmod +x codecov
./codecov