update hash (#137)

This commit is contained in:
Jason Liu
2023-11-04 09:29:35 -04:00
committed by GitHub
parent 5139780fb6
commit 337fe775b2
+5 -3
View File
@@ -21,17 +21,19 @@ jobs:
with:
python-version: 3.x
- name: Store cache_id
run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- name: Calculate requirements hash
id: req-hash
run: echo "::set-output name=hash::$(sha256sum requirements-doc.txt | awk '{print $1}')"
- name: Setup cache
uses: actions/cache@v3
with:
key: mkdocs-material-${{ env.cache_id }}
key: mkdocs-material-${{ steps.req-hash.outputs.hash }}
path: .cache
restore-keys: |
mkdocs-material-
- name: Install Requirements
run: |
sudo apt-get update &&