Add output providing the installed toolchain name

This commit is contained in:
David Tolnay 2023-01-31 12:54:16 -08:00
parent c8acf68152
commit 5e9debf6f0
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82

View file

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