Skip to content

build

build #915

Workflow file for this run

# See https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions
name: build
on:
push:
branches: ['main', 'maintenance/*']
pull_request:
branches: ['main', 'maintenance/*']
schedule:
- cron: '0 0 * * 6'
permissions:
contents: 'read'
jobs:
build:
runs-on: 'ubuntu-latest'
strategy:
matrix:
java: ['8', '11', '17', '20']
steps:
- name: Checkout repository
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- name: Set up Java ${{ matrix.java }}
uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3.13.0
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
cache: 'maven'
- name: Build
run: 'mvn -B formatter:validate verify javadoc:jar'