diff --git a/src/Runner.Listener/Configuration/ConfigurationManager.cs b/src/Runner.Listener/Configuration/ConfigurationManager.cs index bd84de833..ae4f8ad33 100644 --- a/src/Runner.Listener/Configuration/ConfigurationManager.cs +++ b/src/Runner.Listener/Configuration/ConfigurationManager.cs @@ -186,7 +186,7 @@ namespace GitHub.Runner.Listener.Configuration } else { - Trace.Info("Found a self-hosted runner group with id {1} and name {2}", agentPool.Id, agentPool.Name); + Trace.Info($"Found a self-hosted runner group with id {agentPool.Id} and name {agentPool.Name}"); runnerSettings.PoolId = agentPool.Id; runnerSettings.PoolName = agentPool.Name; } diff --git a/src/Runner.Worker/ActionManager.cs b/src/Runner.Worker/ActionManager.cs index f67dfe344..1b462438b 100644 --- a/src/Runner.Worker/ActionManager.cs +++ b/src/Runner.Worker/ActionManager.cs @@ -241,7 +241,7 @@ namespace GitHub.Runner.Worker state.PreStepTracker[action.Id] = actionRunner; } // Embedded Step - else + else { if (!_cachedEmbeddedPreSteps.ContainsKey(parentStepId)) { @@ -703,7 +703,7 @@ namespace GitHub.Runner.Worker // make sure we get a clean folder ready to use. IOUtil.DeleteDirectory(destDirectory, executionContext.CancellationToken); Directory.CreateDirectory(destDirectory); - executionContext.Output($"Download action repository '{downloadInfo.NameWithOwner}@{downloadInfo.Ref}'"); + executionContext.Output($"Download action repository '{downloadInfo.NameWithOwner}@{downloadInfo.Ref}' (SHA:{downloadInfo.ResolvedSha})"); } await DownloadRepositoryActionAsync(executionContext, downloadInfo, destDirectory); @@ -1263,7 +1263,7 @@ namespace GitHub.Runner.Worker public class ActionSetupInfo { public ActionContainer Container { get; set; } - public List Steps {get; set;} + public List Steps { get; set; } } public class PrepareActionsState