Merge pull request #44 from pranc1ngpegasus/feat/able-to-cache-additional-directories
This commit is contained in:
commit
634cedf365
|
@ -28,6 +28,9 @@ inputs:
|
|||
cache-workspaces:
|
||||
description: "Paths to multiple Cargo workspaces and their target directories, separated by newlines."
|
||||
required: false
|
||||
cache-directories:
|
||||
description: "Additional non workspace directories to be cached, separated by newlines."
|
||||
required: false
|
||||
cache-on-failure:
|
||||
description: "Also cache on workflow failures"
|
||||
default: "true"
|
||||
|
@ -180,4 +183,5 @@ runs:
|
|||
uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
workspaces: ${{inputs.cache-workspaces}}
|
||||
cache-directories: ${{inputs.cache-directories}}
|
||||
cache-on-failure: ${{inputs.cache-on-failure}}
|
||||
|
|
Loading…
Reference in New Issue