-
-
Notifications
You must be signed in to change notification settings - Fork 5
28 lines (28 loc) · 698 Bytes
/
gradle.yml
File metadata and controls
28 lines (28 loc) · 698 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
name: CDN CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: "Build with JDK${{ matrix.jdk }}"
runs-on: ubuntu-latest
strategy:
matrix:
# LTS and the latest one
jdk: [ 8, 11, 17 ]
steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.jdk }}
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
fail_ci_if_error: false