Revert cache to use github.ref instead of github.sha

This commit is contained in:
Kamil Krzyśków
2023-05-02 14:47:30 +02:00
parent 2d1d135c35
commit 23f292737e
4 changed files with 10 additions and 7 deletions

View File

@@ -501,7 +501,7 @@ carried out. You might want to:
python-version: 3.x
- uses: actions/cache@v3
with:
key: mkdocs-material-${{ github.sha }}
key: mkdocs-material-${{ github.ref }}
path: .cache
restore-keys: |
mkdocs-material-

View File

@@ -249,7 +249,7 @@ whether the social cards need to be regenerated. You might want to:
python-version: 3.x
- uses: actions/cache@v3
with:
key: mkdocs-material-${{ github.sha }}
key: mkdocs-material-${{ github.ref }}
path: .cache
restore-keys: |
mkdocs-material-