Skip to content

Bump actions/checkout from 4.1.4 to 4.1.5 #939

Bump actions/checkout from 4.1.4 to 4.1.5

Bump actions/checkout from 4.1.4 to 4.1.5 #939

name: "Build and Test"
on:
pull_request:
branches: ['main', '3.6.x-fixes', '3.5.x-fixes', '3.4.x-fixes']
permissions:
contents: read
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest]
permissions:
contents: read
pull-requests: read
timeout-minutes: 130
steps:
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v3.6.0
- name: Set up JDK 17
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Build with Apache Maven (Windows)
if: ${{ matrix.os == 'windows-latest' }}
run: mvn -U clean install -fae -B -Peverything
- name: Build with Apache Maven
if: ${{ matrix.os != 'windows-latest' }}
run: mvn -U clean install -Djava.awt.headless=true -fae -B -Peverything
env:
MAVEN_OPTS: "-Xmx1024M"