Merge pull request #58 from dtolnay/name

Add output providing the installed toolchain name
This commit is contained in:
David Tolnay 2023-01-31 13:03:31 -08:00 committed by GitHub
commit c758e63728
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

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 the selected version of the toolchain. "1.62.0" # suitable for use with `cargo +${{steps.toolchain.outputs.name}}`
value: ${{steps.parse.outputs.toolchain}}
runs:
using: composite