lol

github-runner: 2.299.1 -> 2.300.0 (#206107)

authored by

Alex Martens and committed by
GitHub
410ae09c f9c5d92b

+6 -6
+2 -2
pkgs/development/tools/continuous-integration/github-runner/default.nix
··· 49 49 in 50 50 stdenv.mkDerivation rec { 51 51 pname = "github-runner"; 52 - version = "2.299.1"; 52 + version = "2.300.0"; 53 53 54 54 inherit sdkSource; 55 55 ··· 57 57 owner = "actions"; 58 58 repo = "runner"; 59 59 rev = "v${version}"; 60 - hash = "sha256-o6N7GDfSEWX6QaEga5hQpbpDcBh7Alcy9mK3QlODTbs="; 60 + hash = "sha256-pEBudX285qMz0W8Sog0ph2CA5UclBItQ+ixaBi6dl8I="; 61 61 }; 62 62 63 63 nativeBuildInputs = [
+4 -4
pkgs/development/tools/continuous-integration/github-runner/patches/use-get-directory-for-diag.patch
··· 1 1 diff --git a/src/Runner.Common/HostContext.cs b/src/Runner.Common/HostContext.cs 2 - index d4ea48c..15c1800 100644 2 + index 9e43464..a953694 100644 3 3 --- a/src/Runner.Common/HostContext.cs 4 4 +++ b/src/Runner.Common/HostContext.cs 5 - @@ -109,7 +109,7 @@ namespace GitHub.Runner.Common 5 + @@ -119,7 +119,7 @@ namespace GitHub.Runner.Common 6 6 } 7 7 8 8 // this should give us _diag folder under runner root directory 9 9 - string diagLogDirectory = Path.Combine(new DirectoryInfo(Path.GetDirectoryName(Assembly.GetEntryAssembly().Location)).Parent.FullName, Constants.Path.DiagDirectory); 10 10 + string diagLogDirectory = GetDirectory(WellKnownDirectory.Diag); 11 - _traceManager = new TraceManager(new HostTraceListener(diagLogDirectory, hostType, logPageSize, logRetentionDays), this.SecretMasker); 11 + _traceManager = new TraceManager(new HostTraceListener(diagLogDirectory, hostType, logPageSize, logRetentionDays), stdoutTraceListener, this.SecretMasker); 12 12 } 13 13 else 14 - @@ -272,7 +272,10 @@ namespace GitHub.Runner.Common 14 + @@ -297,7 +297,10 @@ namespace GitHub.Runner.Common 15 15 throw new NotSupportedException($"Unexpected well known directory: '{directory}'"); 16 16 } 17 17