You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by vy...@apache.org on 2023/01/17 20:24:38 UTC
[logging-log4j2] branch release-2.x updated: Run `site` non-recursively in CI
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
The following commit(s) were added to refs/heads/release-2.x by this push:
new 78c9a2c116 Run `site` non-recursively in CI
78c9a2c116 is described below
commit 78c9a2c116d1dbd28e18e533e8d3e75e94a65bec
Author: Volkan Yazıcı <vo...@yazi.ci>
AuthorDate: Tue Jan 17 21:25:42 2023 +0100
Run `site` non-recursively in CI
---
.github/workflows/build.yml | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 598ec3935a..3a262b25a2 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -76,11 +76,7 @@ jobs:
if: runner.os == 'macOS'
run: env | grep '^JAVA'
- # Ideally, `verify` goal should be called here.
- # Though `log4j-osgi` depends on `log4j-samples-configuration`!?!
- # This causes `site` goal (used in the next step) to fail without an `install` first.
- # Hence, we temporarily(🤞) use `install` instead of `verify` here.
- - name: Maven "install"
+ - name: Maven "verify"
timeout-minutes: 60
shell: bash
run: |
@@ -89,9 +85,8 @@ jobs:
-DtrimStackTrace=false \
-Dsurefire.rerunFailingTestsCount=2 \
-Dlog4j2.junit.fileCleanerSleepPeriodMillis=1000 \
- -DinstallAtEnd \
--global-toolchains ".github/workflows/maven-toolchains.xml" \
- install
+ verify
- name: Maven "site"
timeout-minutes: 10
@@ -100,6 +95,7 @@ jobs:
./mvnw \
--show-version --batch-mode --errors --no-transfer-progress \
--global-toolchains ".github/workflows/maven-toolchains.xml" \
+ --non-recursive \
site
deploy: