diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index b6b97466..f29f5547 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -64,6 +64,7 @@ jobs: run: mkdir -p build && cd build && cmake -DARM_NONE_EABI_TOOLCHAIN_PATH=${{ runner.temp }}/arm-none-eabi -DNRF5_SDK_PATH=${{ runner.temp }}/nrf5_sdk -DUSE_OPENOCD=1 ../ - name: Make -j - run: exit && cd build && make pinetime-app + run: cd build && make pinetime-app -# Embedded Arm Toolchain and nRF5 SDK will only be cached if the build succeeds +# Embedded Arm Toolchain and nRF5 SDK will only be cached if the build succeeds. +# So make sure that the first build always succeeds, e.g. comment out the "Make" step.