Add an option to disable configuring Rust cache
This commit is contained in:
parent
137d2d5a3a
commit
3ec6dbd408
3 changed files with 10 additions and 0 deletions
|
@ -22,6 +22,10 @@ inputs:
|
|||
components:
|
||||
description: "Comma-separated list of components to be additionally installed"
|
||||
required: false
|
||||
cache:
|
||||
description: "Automatically configure Rust cache"
|
||||
required: false
|
||||
default: "true"
|
||||
|
||||
outputs:
|
||||
rustc-version:
|
||||
|
@ -100,4 +104,5 @@ runs:
|
|||
shell: bash
|
||||
|
||||
- name: "Setup Rust Caching"
|
||||
if: inputs.cache == 'true'
|
||||
uses: Swatinem/rust-cache@v2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue