From 4dcb903098948594cb09bda1ee54c6b9e2e79190 Mon Sep 17 00:00:00 2001 From: Jason Liu Date: Mon, 6 Nov 2023 22:42:41 -0500 Subject: [PATCH] setup cache --- .github/workflows/mkdocs.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/mkdocs.yml b/.github/workflows/mkdocs.yml index e7212dd..a37b5c2 100644 --- a/.github/workflows/mkdocs.yml +++ b/.github/workflows/mkdocs.yml @@ -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: |