diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index 027bf7c..8dd3645 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -76,7 +76,7 @@ jobs: - name: Build # Build your program with the given configuration. Note that --config is needed because the default Windows generator is a multi-config generator (Visual Studio generator). run: | - cmake --build ${{ steps.strings.outputs.build-output-dir }} -LAH + cmake -LAH -B ${{ steps.strings.outputs.build-output-dir }} cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }} cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }} --target clean cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }}