Skip to content

Commit

Permalink
Able to cache additional directories
Browse files Browse the repository at this point in the history
  • Loading branch information
pranc1ngpegasus authored Aug 17, 2024
1 parent 1fbea72 commit 5d6934e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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}}

0 comments on commit 5d6934e

Please sign in to comment.