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 <[email protected]> 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-*
