See: https://github.com/jessehouwing/azdo-marketplace
There is a root action.yaml with too many options.
So I added a number of targeted action.yaml files in subfolders, like package, publish etc.
These used to target the full name of the action in the repo: jessehouwing/azdo-marketplace@v6.2.1.
I replaced this with $/ so I don't have to update the yaml files every time I do a release and to simplify testing.
This works when executing the action in the same repo, but fails when calling it from another repo it seems. It only fails at execution time on the runner:
Error: jessehouwing\azdo-marketplace\v6.3.3\package\action.yaml (Line: 279, Col: 13): Expected format {org}/{repo}[/path]@ref. Actual '$/'
Error: System.FormatException: Input string was not in a correct format. Failure to parse near offset 96. Expected an ASCII digit.
at System.Text.ValueStringBuilder.AppendFormatHelper(IFormatProvider provider, String format, ReadOnlySpan`1 args)
at System.String.FormatHelper(IFormatProvider provider, String format, ReadOnlySpan`1 args)
at System.String.Format(IFormatProvider provider, String format, Object[] args)
at GitHub.Runner.Worker.TemplateTraceWriter.Error(String format, Object[] args)
at GitHub.DistributedTask.ObjectTemplating.TemplateContext.Error(Nullable`1 fileId, Nullable`1 line, Nullable`1 column, String message)
at GitHub.DistributedTask.ObjectTemplating.TemplateContext.Error(TemplateToken value, String message)
at GitHub.DistributedTask.Pipelines.ObjectTemplating.PipelineTemplateConverter.ConvertToStep(TemplateContext context, TemplateToken stepsItem, ReferenceNameBuilder nameBuilder)
at GitHub.DistributedTask.Pipelines.ObjectTemplating.PipelineTemplateConverter.ConvertToSteps(TemplateContext context, TemplateToken steps)
at GitHub.Runner.Worker.ActionManifestManagerLegacy.ConvertRuns(IExecutionContext executionContext, TemplateContext templateContext, TemplateToken inputsToken, String fileRelativePath, MappingToken outputs)
at GitHub.Runner.Worker.ActionManifestManagerLegacy.Load(IExecutionContext executionContext, String manifestFile)
See: https://github.com/jessehouwing/azdo-marketplace
There is a root action.yaml with too many options.
So I added a number of targeted action.yaml files in subfolders, like
package,publishetc.These used to target the full name of the action in the repo:
jessehouwing/azdo-marketplace@v6.2.1.I replaced this with
$/so I don't have to update the yaml files every time I do a release and to simplify testing.This works when executing the action in the same repo, but fails when calling it from another repo it seems. It only fails at execution time on the runner: