From 1d17bb6e9c49afa96972e859c0679908858073be Mon Sep 17 00:00:00 2001 From: Daniel Stevens Date: Fri, 10 Jan 2025 11:21:48 -0700 Subject: [PATCH] Fix cache saving It seems the cache was not being saved on the default branch, despire a cache miss occurring during restore. --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7a7253fc7..09bbd5ac3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -47,7 +47,7 @@ jobs: - name: Save vcpkg dependency cache uses: actions/cache/save@v4 - if: steps.cacheRestoreVcpkg.outputs.cache-hit == 'false' + if: steps.cacheRestoreVcpkg.outputs.cache-hit != 'true' with: path: vcpkg_installed key: ${{ steps.cacheRestoreVcpkg.outputs.cache-primary-key }} @@ -88,7 +88,7 @@ jobs: - name: Save build cache - NAS2D uses: actions/cache/save@v4 - if: steps.cacheRestoreNas2d.outputs.cache-hit == 'false' + if: steps.cacheRestoreNas2d.outputs.cache-hit != 'true' with: path: nas2d-core/.build/ key: ${{ steps.cacheRestoreNas2d.outputs.cache-primary-key }}