fix: Use local path for get-compose-action #4847
test.yml
on: pull_request
unit tests
50s
integration test
3s
Annotations
4 errors
integration test
/home/runner/work/self-hosted/self-hosted/./action.yaml (Line: 42, Col: 13): Unrecognized named-value: 'github'. Located at position 1 within expression: github.action_path
|
integration test
/home/runner/work/self-hosted/self-hosted/./action.yaml (Line: 42, Col: 13): Expected format {org}/{repo}[/path]@ref. Actual '${{ github.action_path }}get-compose-action'
|
integration test
System.FormatException: Input string was not in a correct format. Failure to parse near offset 94. 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.ActionManifestManager.ConvertRuns(IExecutionContext executionContext, TemplateContext templateContext, TemplateToken inputsToken, String fileRelativePath, MappingToken outputs)
at GitHub.Runner.Worker.ActionManifestManager.Load(IExecutionContext executionContext, String manifestFile)
|
integration test
Failed to load /home/runner/work/self-hosted/self-hosted/./action.yaml
|