ci: Added compilation check on PRs
This commit is contained in:
parent
9eb02cbb54
commit
586e591dc9
19
.github/workflows/build.yaml
vendored
Normal file
19
.github/workflows/build.yaml
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
name: Java CI
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [master, release/*]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up JDK 16
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: '16'
|
||||
distribution: 'adopt'
|
||||
- name: Build with Maven
|
||||
run: mvn --batch-mode --update-snapshots package
|
||||
Loading…
Reference in New Issue
Block a user