Revert all GH actions work

This commit is contained in:
Nanne Baars
2021-10-24 10:20:27 +02:00
parent cb8739ac06
commit b0174a6b26
2 changed files with 57 additions and 1 deletions

39
.github/workflows/pr_build.yml vendored Normal file
View File

@@ -0,0 +1,39 @@
name: "Pull request build"
on:
push:
branches:
- master
- develop
- release/*
tags-ignore:
- '*'
paths-ignore:
- '.txt'
- '*.MD'
- '*.md'
- 'LICENSE'
- 'docs/**'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
java: [16]
steps:
- uses: actions/checkout@v2
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: ${{ matrix.java }}
architecture: x64
- name: Cache Maven packages
uses: actions/cache@v2.1.5
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Build with Maven
run: mvn package