Skip to content

Commit

Permalink
Fix cache saving
Browse files Browse the repository at this point in the history
It seems the cache was not being saved on the default branch, despire a cache miss occurring during restore.
  • Loading branch information
DanRStevens committed Jan 10, 2025
1 parent 4d491df commit 1d17bb6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit 1d17bb6

Please sign in to comment.