summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/ci_cortex_m4.yml4
1 files changed, 4 insertions, 0 deletions
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 .