Skip to content

Commit 3d4d197

Browse files
smyrickdariuszkuc
authored andcommitted
Create build.yml (#339)
1 parent 9eee16b commit 3d4d197

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/build.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Build master branch
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
strategy:
12+
matrix:
13+
java: [ '1.8', '11.x.x' ]
14+
steps:
15+
- name: Checkout latest code
16+
uses: actions/checkout@v1
17+
18+
- name: Set up Java ${{ matrix.java }}
19+
uses: actions/setup-java@v1
20+
with:
21+
java-version: ${{ matrix.java }}
22+
23+
- name: Print active Maven profiles
24+
run: mvn help:active-profiles
25+
26+
- name: Build with Maven
27+
run: mvn clean install
28+
29+
- name: Publish coverage report
30+
uses: codecov/[email protected]
31+
with:
32+
token: ${{secrets.CODECOV_TOKEN}}

0 commit comments

Comments
 (0)