From f763fb70a88400cca4f36d097374d46657b8d352 Mon Sep 17 00:00:00 2001 From: tetetete-ctrl <227913315+tetetete-ctrl@users.noreply.github.com> Date: Sun, 31 May 2026 15:43:41 -0400 Subject: [PATCH] Attempt to fix ccache --- .github/workflows/build.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5f9fecd4..c6fb9ddf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -55,7 +55,7 @@ jobs: echo $GITHUB_SHA >> dist/.commit - name: Clone Libnx - run: git clone https://github.com/switchbrew/libnx.git --depth=1 --single-branch + run: git clone https://github.com/switchbrew/libnx.git --depth=1 --single-branch -b v4.12.0 - name: Clone Atmosphere run: git clone --depth=1 --single-branch https://github.com/Atmosphere-NX/Atmosphere.git atmosphere -b $(cat ams_ver.txt) @@ -79,11 +79,13 @@ jobs: - name: Configure ccache run: | - export CCACHE_DIR=/root/.cache/ccache - echo "CCACHE_DIR=/root/.cache/ccache" >> $GITHUB_ENV + export CCACHE_DIR="$HOME/.cache/ccache" + export CCACHE_BASEDIR="$GITHUB_WORKSPACE" + export CCACHE_COMPILERCHECK=content + export CCACHE_NOHASHDIR=true + echo "CCACHE_DIR=$HOME/.cache/ccache" >> $GITHUB_ENV ccache --set-config=max_size=10G ccache --set-config=compiler_check=content - ccache --zero-stats - name: Build Libnx shell: bash