This is an automated email from the ASF dual-hosted git repository.

vy pushed a commit to branch release-2.x
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git

commit 81867b368ad932dbc785209dd45ece5f60721941
Author: Volkan Yazıcı <[email protected]>
AuthorDate: Thu Feb 4 11:00:26 2021 +0100

    Continue on error in GitHub Actions workflow build step.
---
 .github/workflows/{maven.yml => main.yml} | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/maven.yml b/.github/workflows/main.yml
similarity index 95%
rename from .github/workflows/maven.yml
rename to .github/workflows/main.yml
index 42fab7b..bb16f57 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/main.yml
@@ -1,4 +1,4 @@
-name: Maven
+name: CI
 
 on: [push]
 
@@ -44,6 +44,7 @@ jobs:
 
       - name: Build with Maven (Linux)
         if: runner.os == 'Linux'
+        continue-on-error: true
         run: ./mvnw -V -B --no-transfer-progress -e -DtrimStackTrace=false 
-Dmaven.test.failure.ignore=true -Dsurefire.rerunFailingTestsCount=1 
--global-toolchains .github/workflows/maven-toolchains.xml verify
 
       - name: Inspect environment (Windows)
@@ -52,6 +53,7 @@ jobs:
 
       - name: Build with Maven (Windows)
         if: runner.os == 'Windows'
+        continue-on-error: true
         run: ./mvnw -V -B --no-transfer-progress -e "-DtrimStackTrace=false" 
"-Dmaven.test.failure.ignore=true" "-Dsurefire.rerunFailingTestsCount=1" 
"-Dlog4j2.junit.fileCleanerSleepPeriodMillis=1000" --global-toolchains 
".github\workflows\maven-toolchains.xml" verify
 
       - name: Inspect environment (MacOS)
@@ -60,6 +62,7 @@ jobs:
 
       - name: Build with Maven (MacOS)
         if: runner.os == 'macOS'
+        continue-on-error: true
         run: ./mvnw -V -B --no-transfer-progress -e -DtrimStackTrace=false 
-Dmaven.test.failure.ignore=true -Dsurefire.rerunFailingTestsCount=1 
--global-toolchains .github/workflows/maven-toolchains.xml verify
 
       - name: Publish Test Results

Reply via email to