Skip to content

Add Windows build to GA workflow #216

Add Windows build to GA workflow

Add Windows build to GA workflow #216

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@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Build with Apache Maven
run: mvn -U clean install -fae -B -Peverything
env:
MAVEN_OPTS: "-Xmx1024M"