The job-level env used runner.tool_cache, which isn't available until a runner is assigned, so the workflow failed to parse. Set it on the setup-dotnet step, where the runner context is valid.
The job-level env used runner.tool_cache, which isn't available until a runner is assigned, so the workflow failed to parse. Set it on the setup-dotnet step, where the runner context is valid.