1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2025-04-19 19:46:17 +02:00

Update examples.md

This commit is contained in:
evandrocoan 2020-03-27 19:16:32 -03:00 committed by GitHub
parent aa13bab6d2
commit 84718b30bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -379,7 +379,7 @@ When dependencies are installed later in the workflow, we must specify the same
The following example is for Linux. For Windows, rust replace `~/.cargo` by `C:\Rust\.cargo`.
Also, do forget to change `**/Cargo.lock` to `**/Cargo.toml` if your project uses the former.
See [Cargo.toml vs Cargo.lock](https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html) for more information.
Note, on Windows, you should also use forward slash ``**/Cargo.lock`` instead of backslash ``**\Cargo.lock``.
Note, on Windows, you can also use forward slash ``**/Cargo.lock`` instead of backslash ``**\Cargo.lock``.
```yaml
# Necessary for now for the cargo cache:
# https://github.com/actions/cache/issues/133#issuecomment-599102035