This commit is contained in:
Razon Yang 2024-03-12 17:13:04 +00:00 committed by GitHub
commit 92d4aa8858
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 ```yaml
- uses: actions/cache@v3 - uses: actions/cache@v3
with: 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 # path: /tmp/hugo_cache # <-- with hugo version < v0.116.0
key: ${{ runner.os }}-hugomod-${{ hashFiles('**/go.sum') }} key: ${{ runner.os }}-hugomod-${{ hashFiles('**/go.sum') }}
restore-keys: | restore-keys: |