From ea92cffb54be35028e2d28de6b1153aa8228ebd0 Mon Sep 17 00:00:00 2001 From: svemagie Date: Tue, 31 Mar 2026 12:22:18 +0200 Subject: [PATCH] fix: sharp src/build/Release path + delete stale cache --- .github/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 00c49d5..db61d26 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -20,8 +20,8 @@ jobs: CACHE_FILE=/usr/local/git/.cache/sharp-freebsd/sharp-freebsd-x64-${SHARP_VER}.node if [ -f "$CACHE_FILE" ]; then echo "Restoring cached sharp ${SHARP_VER}" - mkdir -p node_modules/sharp/build/Release - cp "$CACHE_FILE" node_modules/sharp/build/Release/sharp-freebsd-x64.node + mkdir -p node_modules/sharp/src/build/Release + cp "$CACHE_FILE" node_modules/sharp/src/build/Release/sharp-freebsd-x64.node else echo "Building sharp ${SHARP_VER} from source..." npm install node-addon-api node-gyp