From 92902439107135407f911445d2441bbd27269785 Mon Sep 17 00:00:00 2001 From: Phil Howard Date: Tue, 3 Dec 2024 12:17:06 +0000 Subject: [PATCH] CI: Fix ccache. As per the docs ~/.ccache is only used if it exists. It wont exist unless it's cached. It wont cache unless it exists. Create it, to break the cycle. --- .github/workflows/cmake.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index d3009c53..9d1be061 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -23,8 +23,12 @@ jobs: env: PICO_SDK_PATH: $GITHUB_WORKSPACE/pico-sdk - + steps: + - name: Compiler Cache Fixup + run: | + mkdir -p /home/runner/.ccache + - name: Compiler Cache uses: actions/cache@v4 with: