Skip to content

Commit 595bb33

Browse files
committed
Note cache hit/miss in CI
1 parent 59f9fe7 commit 595bb33

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,15 @@ jobs:
7979
path: ${{ env.SASMODELS_BUILD_CACHE }}
8080
key: ${{ steps.build-tools.outputs.details }}-${{ hashFiles('doc/genmodel.py') }}
8181

82+
- name: Report cache status
83+
if: env.BUILD_WHEEL
84+
run: |
85+
if [ "${{ steps.cache-figures.outputs.cache-hit }}" == "true" ]; then
86+
echo "Figure cache hit - using cached figures"
87+
else
88+
echo "Figure cache miss - will generate new figures"
89+
fi
90+
8291
- name: Build sasmodels
8392
if: env.BUILD_WHEEL
8493
run: |

0 commit comments

Comments
 (0)