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 #60 from dtolnay/outputs

Document workflow outputs in a table in readme
This commit is contained in:
David Tolnay 2023-02-01 15:14:34 -08:00 committed by GitHub
commit 9cd00a88a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,6 +57,25 @@ All inputs are optional.
<br>
## Outputs
<table>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
<tr>
<td><code>cachekey</code></td>
<td>A short hash of the installed rustc version, appropriate for use as a cache key. <code>"20220627a831"</code></td>
</tr>
<tr>
<td><code>name</code></td>
<td>Rustup's name for the selected version of the toolchain, like <code>"1.62.0"</code>. Suitable for use with <code>cargo +${{steps.toolchain.outputs.name}}</code>.</td>
</tr>
</table>
<br>
## Toolchain expressions
The following forms are available for projects that use a sliding window of