Migrate building PRs to GitHub Action

See gh-345
This commit is contained in:
abilan
2023-05-25 16:11:29 -04:00
committed by Stephane Nicoll
parent 95464af8c2
commit 7afbdddd10
2 changed files with 23 additions and 44 deletions

23
.github/workflows/pr-build-workflow.yml vendored Normal file
View File

@@ -0,0 +1,23 @@
name: Pull Request build
on:
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 17
- name: Build with Maven
run: mvnw --batch-mode --update-snapshots verify