Skip to content

Commit

Permalink
Added workflow cache providere
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaMatta98 committed Feb 19, 2024
1 parent 3306453 commit 3a7fe01
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,17 @@ jobs:
# Determines whether workspace `target` directories are cached.
# If `false`, only the cargo registry will be cached.
# default: "true"
cache-targets: ""
cache-targets: "true"

# Determines if the cache should be saved even when the workflow has failed.
# default: "false"
cache-on-failure: ""
cache-on-failure: "false"

# Determines which crates are cached.
# If `true` all crates will be cached, otherwise only dependent crates will be cached.
# Useful if additional crates are used for CI tooling.
# default: "false"
cache-all-crates: ""
cache-all-crates: "true"

# Determiners whether the cache should be saved.
# If `false`, the cache is only restored.
Expand All @@ -79,7 +79,7 @@ jobs:
# Specifies what to use as the backend providing cache
# Can be set to either "github" or "buildjet"
# default: "github"
cache-provider: ""
cache-provider: "github"


- name: Cache Rust dependencies
Expand Down

0 comments on commit 3a7fe01

Please sign in to comment.