docs: correct default cache path

This commit is contained in:
Razon Yang 2024-03-13 01:09:26 +08:00 committed by GitHub
parent 966dfad385
commit 0f86eba495
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -156,7 +156,7 @@ Note that with latest hugo version, the [cache dir location](https://gohugo.io/g
```yaml
- uses: actions/cache@v3
with:
path: /home/runner/.cache/hugo_cache # <-- with hugo version v0.116.0 and above
path: /tmp/hugo_cache_runner # <-- with hugo version v0.116.0 and above
# path: /tmp/hugo_cache # <-- with hugo version < v0.116.0
key: ${{ runner.os }}-hugomod-${{ hashFiles('**/go.sum') }}
restore-keys: |