mirror of
https://code.forgejo.org/actions/cache.git
synced 2024-11-30 02:10:56 -05:00
Merge pull request #979 from asaf400/patch-2
Update hashFiles documentation reference
This commit is contained in:
commit
db8d946d18
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ See [Examples](examples.md) for a list of `actions/cache` implementations for us
|
||||||
|
|
||||||
A cache key can include any of the contexts, functions, literals, and operators supported by GitHub Actions.
|
A cache key can include any of the contexts, functions, literals, and operators supported by GitHub Actions.
|
||||||
|
|
||||||
For example, using the [`hashFiles`](https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#hashfiles) function allows you to create a new cache when dependencies change.
|
For example, using the [`hashFiles`](https://docs.github.com/en/actions/learn-github-actions/expressions#hashfiles) function allows you to create a new cache when dependencies change.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: actions/cache@v3
|
- uses: actions/cache@v3
|
||||||
|
|
Loading…
Reference in a new issue