Skip to content

Commit 821a8bd

Browse files
committed
fixup #7
1 parent 13fbf3e commit 821a8bd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,26 +19,26 @@ jobs:
1919
- name: Create Build Environment
2020
# Some projects don't allow in-source building, so create a separate build directory
2121
# We'll use this as our working directory for all subsequent commands
22-
run: cmake -E make_directory ${{runner.workspace}}/build
22+
run: cmake -E make_directory $GITHUB_WORKSPACE/build
2323

2424
- name: Configure CMake
2525
# Use a bash shell so we can use the same syntax for environment variable
2626
# access regardless of the host operating system
2727
shell: bash
28-
working-directory: ${{runner.workspace}}/build
28+
working-directory: $GITHUB_WORKSPACE/build
2929
# Note the current convention is to use the -S and -B options here to specify source
3030
# and build directories, but this is only available with CMake 3.13 and higher.
3131
# The CMake binaries on the Github Actions machines are (as of this writing) 3.12
3232
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE
3333

3434
- name: Build
35-
working-directory: ${{runner.workspace}}/build
35+
working-directory: $GITHUB_WORKSPACE/build
3636
shell: bash
3737
# Execute the build. You can specify a specific target with "--target <NAME>"
3838
run: cmake --build . --config $BUILD_TYPE
3939

4040
- name: Test
41-
working-directory: ${{runner.workspace}}/build
41+
working-directory: $GITHUB_WORKSPACE/build
4242
shell: bash
4343
# Execute tests defined by the CMake configuration.
4444
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail

0 commit comments

Comments
 (0)