Skip to content

Bump actions/setup-java from 4.5.0 to 4.6.0 #1165

Bump actions/setup-java from 4.5.0 to 4.6.0

Bump actions/setup-java from 4.5.0 to 4.6.0 #1165

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', '21']
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Java ${{ matrix.java }}
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0
with:
distribution: 'zulu'
java-version: ${{ matrix.java }}
cache: 'maven'
- name: Build
run: 'mvn -B formatter:validate verify javadoc:jar'