From 1bc7f6aa500ddf390ca11a784996e0a92af3891d Mon Sep 17 00:00:00 2001 From: PProvost Date: Thu, 14 May 2020 13:45:25 -0600 Subject: [PATCH] Add cached folder to path --- .github/workflows/ci_cortex_m4.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci_cortex_m4.yml b/.github/workflows/ci_cortex_m4.yml index 90891ef3..e5ae4c1f 100644 --- a/.github/workflows/ci_cortex_m4.yml +++ b/.github/workflows/ci_cortex_m4.yml @@ -52,6 +52,10 @@ jobs: - name: Install ninja-build uses: seanmiddleditch/gha-setup-ninja@v1 + - name: Update $PATH if using cache + if: steps.cache-arm-gcc.outputs.cache-hit == 'true' + run: echo "::addPath::$HOME/arm-none-eabi-gcc-9-2019-q4/bin" + # Prepare the build system - name: Prepare build system run: cmake -Bbuild -DCMAKE_TOOLCHAIN_FILE=./cmake/cortex_m4.cmake -GNinja .