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

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

commit eb60d730fcdaaf8634fb50e15cb857813cc650cb
Author: Stephen Webb <[email protected]>
AuthorDate: Mon Aug 31 17:27:15 2026 +1000

    Fix Windows static build action
---
 .github/workflows/log4cxx-windows-static.yml | 7 +++----
 .github/workflows/log4cxx-windows.yml        | 2 +-
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/log4cxx-windows-static.yml 
b/.github/workflows/log4cxx-windows-static.yml
index f9c0078c..7502d474 100644
--- a/.github/workflows/log4cxx-windows-static.yml
+++ b/.github/workflows/log4cxx-windows-static.yml
@@ -18,7 +18,7 @@ on: [push, pull_request]
 
 jobs:
   job:
-    name: ${{ matrix.os }}-${{ matrix.cxx }}-build-and-test
+    name: static-${{ matrix.name }}-build-and-test
     runs-on: ${{ matrix.os }}
     strategy:
       fail-fast: false
@@ -90,8 +90,7 @@ jobs:
       shell: pwsh
       timeout-minutes: 10
       run: |
-        cd main
-        cd build
-        ctest -C Debug --output-on-failure
+        $ROOT=Get-Location
+        ctest --test-dir "$ROOT/build" -C Debug --output-on-failure
 
 
diff --git a/.github/workflows/log4cxx-windows.yml 
b/.github/workflows/log4cxx-windows.yml
index 218d2003..7ce69ac3 100644
--- a/.github/workflows/log4cxx-windows.yml
+++ b/.github/workflows/log4cxx-windows.yml
@@ -18,7 +18,7 @@ on: [push, pull_request]
 
 jobs:
   job:
-    name: ${{ matrix.os }}-${{ matrix.cxx }}-build-and-test
+    name: ${{ matrix.name }}-build-and-test
     runs-on: ${{ matrix.os }}
     strategy:
       fail-fast: false

Reply via email to