diff --git a/.github/workflows/gripper.yaml b/.github/workflows/gripper.yaml index ac5bdcb90..979d74149 100644 --- a/.github/workflows/gripper.yaml +++ b/.github/workflows/gripper.yaml @@ -50,6 +50,7 @@ env: defaults: run: shell: bash + working-directory: ot3-firmware jobs: cross-compile-check: @@ -69,7 +70,9 @@ jobs: uses: ./actions/.github/actions/main-setup - name: Configure - run: cd ot3-firmware && cmake --preset=cross . + run: cmake --preset=cross . + working-directory: ot3-firmware + - name: "Format" run: cmake --build ./build-cross --target gripper-format-ci - name: "Build" @@ -94,7 +97,7 @@ jobs: uses: ./actions/.github/actions/main-setup - name: Configure - run: cd ot3-firmware && cmake --preset=host-gcc10 . + run: cmake --preset=host-gcc10 . - name: 'Build and test' run: cmake --build ./build-host --target gripper-build-and-test