mirror of
https://github.com/actions-rust-lang/setup-rust-toolchain.git
synced 2025-07-04 12:31:11 +00:00
add workspaces input field to support non-root projects
This commit is contained in:
parent
d5fcac478a
commit
f2e9ed58bd
2 changed files with 14 additions and 8 deletions
|
@ -25,6 +25,9 @@ inputs:
|
|||
description: "Automatically configure Rust cache"
|
||||
required: false
|
||||
default: "true"
|
||||
cache-workspaces:
|
||||
description: "Paths to multiple Cargo workspaces and their target directories, separated by newlines."
|
||||
required: false
|
||||
matcher:
|
||||
description: "Enable the Rust problem matcher"
|
||||
required: false
|
||||
|
@ -171,3 +174,5 @@ runs:
|
|||
- name: Setup Rust Caching
|
||||
if: inputs.cache == 'true'
|
||||
uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
workspaces: ${{inputs.cache-workspaces}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue