mirror of
https://github.com/actions/runner.git
synced 2025-12-12 05:37:01 +00:00
Compare commits
2 Commits
v2.280.3
...
thboop/Rev
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
10b624dd10 | ||
|
|
28d01a0160 |
@@ -2,7 +2,7 @@
|
||||
|
||||
## Bugs
|
||||
|
||||
- Fixed an issue where composite steps would not run on `failure()` or `always()` when the job failed (#1273)
|
||||
- Reverts (#1273) as the behavior was unexpected.
|
||||
|
||||
## Misc
|
||||
|
||||
|
||||
@@ -294,14 +294,6 @@ namespace GitHub.Runner.Worker.Handlers
|
||||
// Register Callback
|
||||
CancellationTokenRegistration? jobCancelRegister = null;
|
||||
try
|
||||
{
|
||||
// For main steps just run the action
|
||||
if (stage == ActionRunStage.Main)
|
||||
{
|
||||
await RunStepAsync(step);
|
||||
}
|
||||
// We need to evaluate conditions for pre/post steps
|
||||
else
|
||||
{
|
||||
// Register job cancellation call back only if job cancellation token not been fire before each step run
|
||||
if (!ExecutionContext.Root.CancellationToken.IsCancellationRequested)
|
||||
@@ -397,7 +389,6 @@ namespace GitHub.Runner.Worker.Handlers
|
||||
await RunStepAsync(step);
|
||||
}
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
if (jobCancelRegister != null)
|
||||
|
||||
Reference in New Issue
Block a user