-
-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
59 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,10 @@ name: "Rust Cache" | |
description: "A GitHub Action that implements smart caching for rust/cargo projects with sensible defaults." | ||
author: "Arpad Borsos <[email protected]>" | ||
inputs: | ||
prefix-key: | ||
description: "The prefix cache key, this can be changed to start a new cache manually" | ||
required: false | ||
default: "v0-rust" | ||
shared-key: | ||
description: "An additional cache key that is stable over multiple jobs" | ||
required: false | ||
|
@@ -14,6 +18,13 @@ inputs: | |
workspaces: | ||
description: "Paths to multiple Cargo workspaces and their target directories, separated by newlines" | ||
required: false | ||
cache-directories: | ||
description: "Additional non workspace directories, separated by newlines" | ||
required: false | ||
cache-targets: | ||
description: "Determines whether workspace targets are cached" | ||
required: false | ||
default: "true" | ||
cache-on-failure: | ||
description: "Cache even if the build fails. Defaults to false" | ||
required: false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters