new: Support custom target dirs. (#19)

This commit is contained in:
Miles Johnson 2024-05-03 12:01:30 -07:00 committed by GitHub
parent c91b4202a2
commit dcab3dcf9f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 183 additions and 124 deletions

View file

@ -8,7 +8,7 @@ inputs:
description: 'Comma-separated list of global binaries to install into Cargo.'
cache:
description: 'Toggle caching of ~/.cargo/registry and /target/<cache-target> directories.'
default: true
default: 'true'
cache-base:
description:
'Base branch/ref to save a warmup cache on. Other branches/refs will restore from this base.'
@ -21,9 +21,12 @@ inputs:
description: 'Comma-separated list of additional components to install.'
inherit-toolchain:
description: 'Inherit all toolchain settings from the rust-toolchain.toml file.'
default: false
default: 'false'
targets:
description: 'Comma-separated list of additional targets to install.'
target-dirs:
description: 'Comma-separated list of target folder paths, relative from the repository root.'
default: 'target'
profile:
description: 'Profile to install. Defaults to "minimal".'
outputs: