You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by sw...@apache.org on 2026/07/14 02:07:11 UTC

(logging-log4cxx) branch fix_package_action created (now 3e563876)

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

swebb2066 pushed a change to branch fix_package_action
in repository https://gitbox.apache.org/repos/asf/logging-log4cxx.git


      at 3e563876 Fix packaged release_files.zip archive

This branch includes the following new commits:

     new 3e563876 Fix packaged release_files.zip archive

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(logging-log4cxx) 01/01: Fix packaged release_files.zip archive

Posted by sw...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

swebb2066 pushed a commit to branch fix_package_action
in repository https://gitbox.apache.org/repos/asf/logging-log4cxx.git

commit 3e56387653d3216641c9a82b691caf1f2b91813a
Author: Stephen Webb <sw...@gmail.com>
AuthorDate: Tue Jul 14 12:06:44 2026 +1000

    Fix packaged release_files.zip archive
---
 .github/workflows/package_code.yml | 28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)

diff --git a/.github/workflows/package_code.yml b/.github/workflows/package_code.yml
index c90930f7..0bf5094c 100644
--- a/.github/workflows/package_code.yml
+++ b/.github/workflows/package_code.yml
@@ -19,9 +19,9 @@ on:
   push:
     branches:
       - master
-#  pull_request:
-#    branches:
-#      - master
+  pull_request:
+    branches:
+      - master
 
 permissions: read-all
 
@@ -70,6 +70,13 @@ jobs:
         sha256sum "apache-log4cxx-$VERSION.zip" > "apache-log4cxx-$VERSION.zip.sha256"
         gpg --armor --detach-sign --yes --pinentry-mode error "apache-log4cxx-$VERSION.zip"
 
+    - uses: actions/upload-artifact@v4
+      if: always()
+      with:
+        name: 'release_files'
+        path: |
+          apache-log4cxx-*
+
     - name: 'Configure Dependencies'
       run: |
         sudo apt-get update
@@ -79,16 +86,9 @@ jobs:
       run: |
         VERSION=`ls apache-log4cxx-*.tar.gz | sed -Ee 's/.*apache-log4cxx-([0-9]*)\.([0-9]*)\.([0-9]*).*/\1.\2.\3/'`
         echo "Extracting files from apache-log4cxx-$VERSION.tar.gz..."
-        tar xf apache-log4cxx-$VERSION.tar.gz || exit
+        tar xf apache-log4cxx-$VERSION.tar.gz "--transform=s,apache-log4cxx-$VERSION/,test-files," || exit
 
-        cmake -S apache-log4cxx-$VERSION -B test-archive || exit
-        cmake --build test-archive || exit
-        cd test-archive
+        cmake -S test-files -B test-build || exit
+        cmake --build test-build || exit
+        cd test-build
         ctest
-
-    - uses: actions/upload-artifact@v4
-      if: always()
-      with:
-        name: 'release_files'
-        path: |
-          apache-log4cxx-*