Skip to content

Commit fe692f3

Browse files
saudetkarllessard
authored andcommitted
Fail Windows builds on GitHub Actions when Maven returns with error
1 parent 62b2998 commit fe692f3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ jobs:
124124
wmic pagefile list /format:list
125125
echo Executing Maven %MAVEN_PHASE%
126126
call mvn clean %MAVEN_PHASE% -Possrh -B -U -e -Djavacpp.platform=windows-x86_64 -Djavacpp.platform.extension=${{ matrix.ext }}
127+
if ERRORLEVEL 1 exit /b
127128
df -h
128129
wmic pagefile list /format:list
129130
redeploy:

0 commit comments

Comments
 (0)