summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorPProvost <[email protected]>2020-05-14 13:45:25 -0600
committerPProvost <[email protected]>2020-05-14 13:45:25 -0600
commit1bc7f6aa500ddf390ca11a784996e0a92af3891d (patch)
tree77eb5830f2d5ea2df6f732ae9b55ecea60b8e605 /.github/workflows
parent2efcfc4ad97e53826371539f9b4f431fa4357a02 (diff)
Add cached folder to path
Diffstat (limited to '.github/workflows')
-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 .