mirror of
https://github.com/actions/runner.git
synced 2025-12-10 12:36:23 +00:00
Print out resolved SHA for each action. (#1233)
This commit is contained in:
@@ -186,7 +186,7 @@ namespace GitHub.Runner.Listener.Configuration
|
|||||||
}
|
}
|
||||||
else
|
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.PoolId = agentPool.Id;
|
||||||
runnerSettings.PoolName = agentPool.Name;
|
runnerSettings.PoolName = agentPool.Name;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -241,7 +241,7 @@ namespace GitHub.Runner.Worker
|
|||||||
state.PreStepTracker[action.Id] = actionRunner;
|
state.PreStepTracker[action.Id] = actionRunner;
|
||||||
}
|
}
|
||||||
// Embedded Step
|
// Embedded Step
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (!_cachedEmbeddedPreSteps.ContainsKey(parentStepId))
|
if (!_cachedEmbeddedPreSteps.ContainsKey(parentStepId))
|
||||||
{
|
{
|
||||||
@@ -703,7 +703,7 @@ namespace GitHub.Runner.Worker
|
|||||||
// make sure we get a clean folder ready to use.
|
// make sure we get a clean folder ready to use.
|
||||||
IOUtil.DeleteDirectory(destDirectory, executionContext.CancellationToken);
|
IOUtil.DeleteDirectory(destDirectory, executionContext.CancellationToken);
|
||||||
Directory.CreateDirectory(destDirectory);
|
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);
|
await DownloadRepositoryActionAsync(executionContext, downloadInfo, destDirectory);
|
||||||
@@ -1263,7 +1263,7 @@ namespace GitHub.Runner.Worker
|
|||||||
public class ActionSetupInfo
|
public class ActionSetupInfo
|
||||||
{
|
{
|
||||||
public ActionContainer Container { get; set; }
|
public ActionContainer Container { get; set; }
|
||||||
public List<Pipelines.ActionStep> Steps {get; set;}
|
public List<Pipelines.ActionStep> Steps { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class PrepareActionsState
|
public class PrepareActionsState
|
||||||
|
|||||||
Reference in New Issue
Block a user