Skip to content

Commit f4c1a48

Browse files
authored
Update cmake-multi-platform.yml
1 parent a0e344d commit f4c1a48

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/cmake-multi-platform.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,18 +70,18 @@ jobs:
7070

7171
- name: Configure CMake
7272
run: >
73-
cmake -S . -B ${{ steps.strings.outputs.build-output-dir }}
73+
cmake -S . -B ${{ github.workspace }}/build
7474
-DCMAKE_C_COMPILER=${{ matrix.c_compiler }}
7575
-DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }}
7676
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
7777
${{ matrix.mingw && '-DCMAKE_TOOLCHAIN_FILE=mingw-w64-x86_64.cmake' || '' }}
7878
7979
- name: Build
80-
run: cmake --build ${{ steps.vars.outputs.dir }} --config ${{ matrix.build_type }}
80+
run: cmake --build ${{ github.workspace }}/build --config ${{ matrix.build_type }}
8181

8282
- name: Run tests
8383
working-directory: >-
84-
${{ steps.vars.outputs.dir }}/Example${{
84+
${{ github.workspace }}/build/Example${{
8585
matrix.os == 'windows-latest' && format('/{0}', matrix.build_type) || ''
8686
}}
8787
run: ./ImageLoaderExample${{ matrix.exe_suffix }}

0 commit comments

Comments
 (0)