Skip to content

Commit 578ae46

Browse files
committed
use cd for test command instead of step.working-directory option
1 parent 319b886 commit 578ae46

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/cmake.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ jobs:
9696
run: cmake --build ${{ github.workspace }}/build --config ${{ env.BUILD_TYPE }}
9797

9898
- name: Test
99-
working-directory: ${{ github.workspace }}/build
10099
# Execute tests defined by the CMake configuration.
101100
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
102-
run: ctest -C ${{ env.BUILD_TYPE }}
101+
run: cd ${{ github.workspace }}/build && ctest -C ${{ env.BUILD_TYPE }}

0 commit comments

Comments
 (0)