From 5e9debf6f09f714e8ba57fc42c1dc6d9ce4af5bc Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Tue, 31 Jan 2023 12:54:16 -0800 Subject: [PATCH] Add output providing the installed toolchain name --- action.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/action.yml b/action.yml index 04061ef..5aad9db 100644 --- a/action.yml +++ b/action.yml @@ -23,6 +23,9 @@ outputs: cachekey: description: A short hash of the rustc version, appropriate for use as a cache key. "20220627a831" value: ${{steps.rustc-version.outputs.cachekey}} + name: + description: Rustup's name for this version of the toolchain, suitable for use with `${{'cargo +${{steps.toolchain.outputs.name}}'}}`. + value: ${{steps.parse.outputs.toolchain}} runs: using: composite