From 64a57991d6b65b2ac455b55d106692b3990b54de Mon Sep 17 00:00:00 2001
From: Justin Carpentier <justin.carpentier@inria.fr>
Date: Wed, 31 May 2023 23:03:56 +0200
Subject: [PATCH] ci: create cache dir

---
 .github/workflows/macos-linux-conda.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.github/workflows/macos-linux-conda.yml b/.github/workflows/macos-linux-conda.yml
index c1fe7404..e7c46832 100644
--- a/.github/workflows/macos-linux-conda.yml
+++ b/.github/workflows/macos-linux-conda.yml
@@ -42,6 +42,9 @@ jobs:
         path: ${{ env.CCACHE_DIR }}
         key: ccache-${{ matrix.os }}-${{ matrix.build_type }}-${{ matrix.cxx_options }}
 
+    - name: Prepare cache dir
+      run: sudo mkdir -p ${CCACHE_DIR}/tmp && sudo chown -R $(id -un) ${CCACHE_DIR}
+
     - name: Install cmake and update conda
       shell: bash -l {0}
       run: |
-- 
GitLab