mirror of
https://github.com/actions-rust-lang/setup-rust-toolchain.git
synced 2025-07-07 22:01:10 +00:00
feat: support cache-provider
This commit is contained in:
parent
9d7e65c320
commit
82947d77a9
2 changed files with 30 additions and 24 deletions
|
@ -45,6 +45,10 @@ inputs:
|
|||
description: "Determines whether to cache ${CARGO_HOME}/bin."
|
||||
required: false
|
||||
default: "true"
|
||||
cache-provider:
|
||||
description: "Determines which provider to use for caching. Options are github or buildjet, defaults to github."
|
||||
required: false
|
||||
default: "github"
|
||||
matcher:
|
||||
description: "Enable the Rust problem matcher"
|
||||
required: false
|
||||
|
@ -214,5 +218,6 @@ runs:
|
|||
cache-directories: ${{inputs.cache-directories}}
|
||||
cache-on-failure: ${{inputs.cache-on-failure}}
|
||||
cache-bin: ${{inputs.cache-bin}}
|
||||
cache-provider: ${{inputs.cache-provider}}
|
||||
key: ${{inputs.cache-key}}
|
||||
shared-key: ${{inputs.cache-shared-key}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue