Skip to content

Commit

Permalink
Fix CI workflow parse error
Browse files Browse the repository at this point in the history
    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
  • Loading branch information
dtolnay committed Jan 31, 2023
1 parent 5e9debf commit 0c819c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0c819c9

Please sign in to comment.