Add an option to disable configuring Rust cache

This commit is contained in:
Filip Š 2022-07-30 20:01:03 +02:00
parent 137d2d5a3a
commit 3ec6dbd408
3 changed files with 10 additions and 0 deletions

View file

@ -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