setup cache

This commit is contained in:
Jason Liu
2023-11-06 22:42:41 -05:00
parent 344ab8055d
commit 4dcb903098
+8
View File
@@ -26,6 +26,14 @@ jobs:
- name: Calculate requirements hash
id: req-hash
run: echo "hash=$(sha256sum requirements-doc.txt | awk '{print $1}')" >> $GITHUB_ENV
- name: Setup cache
uses: actions/cache@v3
with:
key: mkdocs-material-${{ steps.req-hash.outputs.hash }}
path: .cache
restore-keys: |
mkdocs-material-
- name: Install Requirements
run: |