27 lines
498 B
YAML
27 lines
498 B
YAML
# Run continuous integration
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- '*'
|
|
pull_request:
|
|
branches:
|
|
- '*'
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v2
|
|
- name: Set up Java
|
|
uses: actions/setup-java@v2
|
|
with:
|
|
distribution: 'temurin'
|
|
java-version: '17'
|
|
check-latest: false
|
|
cache: 'maven'
|
|
- name: Build with Maven
|
|
run: 'mvn package'
|
|
shell: bash
|