diff --git a/.github/workflows/pull-request-build.yml b/.github/workflows/pull-request-build.yml index 2d188909ccb..c01b990383e 100644 --- a/.github/workflows/pull-request-build.yml +++ b/.github/workflows/pull-request-build.yml @@ -9,7 +9,10 @@ permissions: jobs: build: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [windows-latest, ubuntu-latest] permissions: contents: read pull-requests: read @@ -23,6 +26,6 @@ jobs: distribution: 'temurin' cache: maven - name: Build with Apache Maven - run: mvn -U clean install -Djava.awt.headless=true -fae -B -Peverything + run: mvn -U clean install -fae -B -Peverything env: MAVEN_OPTS: "-Xmx1024M"