Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
21 lines
1003 B
Diff
21 lines
1003 B
Diff
diff --git a/src/Runner.Common/HostContext.cs b/src/Runner.Common/HostContext.cs
|
|
index d4ea48c..2ec8455 100644
|
|
--- a/src/Runner.Common/HostContext.cs
|
|
+++ b/src/Runner.Common/HostContext.cs
|
|
@@ -220,12 +220,13 @@ namespace GitHub.Runner.Common
|
|
|
|
case WellKnownDirectory.Externals:
|
|
path = Path.Combine(
|
|
- GetDirectory(WellKnownDirectory.Root),
|
|
+ new DirectoryInfo(GetDirectory(WellKnownDirectory.Bin)).Parent.FullName,
|
|
Constants.Path.ExternalsDirectory);
|
|
break;
|
|
|
|
case WellKnownDirectory.Root:
|
|
- path = new DirectoryInfo(GetDirectory(WellKnownDirectory.Bin)).Parent.FullName;
|
|
+ path = Environment.GetEnvironmentVariable("RUNNER_ROOT")
|
|
+ ?? new DirectoryInfo(GetDirectory(WellKnownDirectory.Bin)).Parent.FullName;
|
|
break;
|
|
|
|
case WellKnownDirectory.Temp:
|