3
0
Fork 0
mirror of https://github.com/dtolnay/rust-toolchain.git synced 2024-11-22 08:49:30 +01:00

Fix CI workflow parse error

Error: /home/runner/work/rust-toolchain/rust-toolchain/./action.yml (Line: 27, Col: 18): A template expression is not allowed in this context
    Error: /home/runner/work/rust-toolchain/rust-toolchain/./action.yml (Line: 27, Col: 18): A template expression is not allowed in this context
    Error: GitHub.DistributedTask.ObjectTemplating.TemplateValidationException: The template is not valid. /home/runner/work/rust-toolchain/rust-toolchain/./action.yml (Line: 27, Col: 18): A template expression is not allowed in this context
       at GitHub.DistributedTask.ObjectTemplating.TemplateValidationErrors.Check()
       at GitHub.Runner.Worker.ActionManifestManager.ConvertRuns(IExecutionContext executionContext, TemplateContext templateContext, TemplateToken inputsToken, String fileRelativePath, MappingToken outputs)
       at GitHub.Runner.Worker.ActionManifestManager.Load(IExecutionContext executionContext, String manifestFile)
    Error: Fail to load /home/runner/work/rust-toolchain/rust-toolchain/./action.yml
This commit is contained in:
David Tolnay 2023-01-31 13:00:20 -08:00
parent 5e9debf6f0
commit 0c819c9641
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82

View file

@ -24,7 +24,7 @@ outputs:
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}}'}}`.
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: