mirror of
https://github.com/actions/runner.git
synced 2025-12-11 21:06:55 +00:00
default post-job action's condition to always(). (#293)
This commit is contained in:
@@ -341,7 +341,7 @@ namespace GitHub.Runner.Worker
|
||||
EntryPoint = entrypointToken?.Value,
|
||||
Environment = envToken,
|
||||
Cleanup = postEntrypointToken?.Value,
|
||||
CleanupCondition = postIfToken?.Value
|
||||
CleanupCondition = postIfToken?.Value ?? "always()"
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -357,7 +357,7 @@ namespace GitHub.Runner.Worker
|
||||
{
|
||||
Script = mainToken.Value,
|
||||
Cleanup = postToken?.Value,
|
||||
CleanupCondition = postIfToken?.Value
|
||||
CleanupCondition = postIfToken?.Value ?? "always()"
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user