You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by rm...@apache.org on 2022/01/04 00:14:46 UTC
[logging-log4cxx] 01/01: upload artifact on failure
This is an automated email from the ASF dual-hosted git repository.
rmiddleton pushed a commit to branch save-abi-compliance-check
in repository https://gitbox.apache.org/repos/asf/logging-log4cxx.git
commit 4e73632fd22548e047ce88b6b14b3a113998fa31
Author: Robert Middleton <ro...@rm5248.com>
AuthorDate: Mon Jan 3 19:14:29 2022 -0500
upload artifact on failure
---
.github/workflows/abi-compatibility.yml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/abi-compatibility.yml b/.github/workflows/abi-compatibility.yml
index 07b92e6..1270d81 100644
--- a/.github/workflows/abi-compatibility.yml
+++ b/.github/workflows/abi-compatibility.yml
@@ -50,8 +50,10 @@ jobs:
cd build
cmake -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc -DLOG4CXX_ABI_CHECK=ON -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS="-Og" -DBUILD_TESTING=off ..
cmake --build .
+ cp $(find . -name compat_report.html) .
- uses: actions/upload-artifact@v2
+ if: failure()
with:
name: abi-compatibility-report
- path: main/build/src/main/cpp/compat_reports/log4cxx/11_to_11/compat_report.html
+ path: compat_report.html