Skip to content

Commit

Permalink
Fixes #3589 - Fix Windows build failure
Browse files Browse the repository at this point in the history
  • Loading branch information
mnriem committed Dec 14, 2023
1 parent 4e61438 commit bbe8fef
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ jobs:
distribution: 'temurin'
java-version: 21
- name: Build with Maven
run: mvn --no-transfer-progress -B install
run: |
export MAVEN_OPTS='-Xms256m -Xmx1024m'
mvn --no-transfer-progress -B install
- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v1
if: ${{ runner.os != 'Windows' }}
Expand Down
5 changes: 5 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -883,6 +883,11 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<systemPropertyVariables>
<java.net.preferIPv4Stack>true</java.net.preferIPv4Stack>
</systemPropertyVariables>
</configuration>
<executions>
<execution>
<goals>
Expand Down

0 comments on commit bbe8fef

Please sign in to comment.