Skip to content

Commit 9991571

Browse files
author
Stefan Hahmann
committed
Add build.yml
1 parent ccc9a11 commit 9991571

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# This workflow will build a Java project with Maven
2+
3+
name: Java CI with Maven
4+
5+
on:
6+
push:
7+
branches: [ "master" ]
8+
pull_request:
9+
branches: [ "master" ]
10+
11+
jobs:
12+
build:
13+
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v2
18+
- name: Set up Java
19+
uses: actions/setup-java@v2
20+
with:
21+
java-version: '8'
22+
distribution: 'zulu'
23+
cache: 'maven'
24+
- name: Build with Maven
25+
run: mvn -B package --file pom.xml

0 commit comments

Comments
 (0)