github actions CI

This commit is contained in:
anhefti 2021-04-12 16:25:28 +02:00
parent 7461af1d4e
commit dc8f1c2863
2 changed files with 28 additions and 1 deletions

View file

@ -22,4 +22,4 @@ jobs:
java-version: '11'
distribution: 'adopt'
- name: Build with Maven
run: mvn clean install -e -P let_reporting
run: mvn clean install

View file

@ -0,0 +1,27 @@
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Java CI with Maven
on:
push:
branches: [main, development]
pull_request:
branches: [main, development]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 8
uses: actions/setup-java@v2
with:
java-version: '8'
distribution: 'adopt'
- name: Build with Maven
run: mvn clean install -e -P let_reporting