diff --git a/.github/workflows/build+test.yml b/.github/workflows/build+test.yml index 43c6a17..5111096 100644 --- a/.github/workflows/build+test.yml +++ b/.github/workflows/build+test.yml @@ -24,7 +24,7 @@ jobs: run: mkdir -p "${{ github.workspace }}/build" - name: Build with CMAKE run: | - cmake --build "${{ github.workspace }}/build" ${{ github.workspace }} - cmake --build "${{ github.workspace }}/build" --target ccronexpr ${{ github.workspace }} + cmake -B "${{ github.workspace }}/build" -S ${{ github.workspace }} + cmake --build "${{ github.workspace }}/build" --target ccronexpr - name: Run test executable run: "${{ github.workspace }}/build/ccronexpr"