misc,tests: Fix caching in daily tests

This commit is contained in:
Bobby R. Bruce
2024-09-26 11:12:52 -07:00
parent e3fd7dcaec
commit a240ff8d32

View File

@@ -44,13 +44,13 @@ jobs:
- uses: actions/checkout@v4
- name: Restore build/NULL cache
uses: actions/restore@v4
uses: actions/cache/restore@v4
with:
path: build/NULL
key: testlib-build-null-${{ hashFiles('src/**') }}
- name: Restore build/ALL cache
uses: actions/restore@v4
uses: actions/cache/restore@v4
with:
path: build/ALL
key: testlib-build-all-${{ hashFiles('src/**') }}
@@ -69,14 +69,14 @@ jobs:
retention-days: 7
- name: Save build/NULL cache
uses: actions/save-cache@v2
uses: actions/cache/save@v4
if: ${{ hashFiles('build/NULL/') != '' }}
with:
path: build/NULL
key: testlib-build-null-${{ hashFiles('src/**') }}
- name: Save build/ALL cache
uses: actions/save-cache@v2
uses: actions/cache/save@v4
if: ${{ hashFiles('build/ALL/') != '' }}
with:
path: build/ALL