Use unique cache ref

This commit is contained in:
shamoon
2023-12-17 11:23:07 -08:00
parent 9b9c100e65
commit b574c52e1a

View File

@@ -70,7 +70,7 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: 3.x
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- run: echo "cache_id=${{github.sha}}" >> $GITHUB_ENV
- uses: actions/cache@v3
with:
key: mkdocs-material-${{ env.cache_id }}