Document workflow outputs in a table in readme

This commit is contained in:
David Tolnay 2023-02-01 15:04:54 -08:00
parent c758e63728
commit 3fd7e41f91
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82

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