3
0
Fork 0
mirror of https://github.com/dtolnay/rust-toolchain.git synced 2024-11-25 17:49:31 +01:00

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

View file

@ -23,6 +23,9 @@ outputs:
cachekey: cachekey:
description: A short hash of the rustc version, appropriate for use as a cache key. "20220627a831" description: A short hash of the rustc version, appropriate for use as a cache key. "20220627a831"
value: ${{steps.rustc-version.outputs.cachekey}} 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: runs:
using: composite using: composite