Homebrew / actions

🚀 Homebrew's GitHub Actions
BSD 2-Clause "Simplified" License
118 stars 39 forks source link

post-build: use `GITHUB_ACTION_PATH` instead of `github.action_path` #522

Closed chenrui333 closed 5 months ago

chenrui333 commented 5 months ago
Error: Homebrew/actions/master/post-build/action.yml: (Line: 60, Col: 57, Idx: 1765) - (Line: 60, Col: 78, Idx: 1786): While parsing a block mapping, did not find expected key.
Error: System.ArgumentException: Unexpected type '' encountered while reading 'action manifest root'. The type 'MappingToken' was expected.
   at GitHub.DistributedTask.ObjectTemplating.Tokens.TemplateTokenExtensions.AssertMapping(TemplateToken value, String objectDescription)
   at GitHub.Runner.Worker.ActionManifestManager.Load(IExecutionContext executionContext, String manifestFile)
Error: Failed to load Homebrew/actions/master/post-build/action.yml

seen in https://github.com/Homebrew/homebrew-core/actions/runs/8577932249/job/23511213925?pr=168176

MikeMcQuaid commented 5 months ago

Thanks for the fix @chenrui333 and review @Bo98!