diff --git a/.github/workflows/macos-linux-conda.yml b/.github/workflows/macos-linux-conda.yml
index 1aba7daed3f5b9747cac21b583dd3da5a401c8da..1dbef4e4335a2fc7b51aad927d877316a196086d 100644
--- a/.github/workflows/macos-linux-conda.yml
+++ b/.github/workflows/macos-linux-conda.yml
@@ -7,7 +7,7 @@ jobs:
     name: ${{ matrix.os }} - ${{ matrix.build_type }} ${{ matrix.cxx_options }}
     runs-on: ${{ matrix.os }}
     env:
-      CCACHE_DIR: ~/.ccache # Enable ccache
+      CCACHE_DIR: /github/home/.ccache # Enable ccache
 
     strategy:
       fail-fast: false