Compare commits

..

2 Commits

Author SHA1 Message Date
Thomas Boop
409920e9f0 Update releaseVersion 2021-08-19 09:10:58 -04:00
Thomas Boop
5ed80c753b Port master to release branch (#1277)
* For Main Steps, just run the step, don't check condition (#1273)

* For Main Steps, just run the step, don't check condition

* fix whitespace

* pr feedback

* Runner 2.280.3 Release (#1276)

Co-authored-by: Tingluo Huang <tingluohuang@github.com>
Co-authored-by: Ferenc Hammerl <31069338+fhammerl@users.noreply.github.com>
2021-08-19 08:56:06 -04:00
4 changed files with 102 additions and 95 deletions

View File

@@ -2,12 +2,10 @@
## Bugs
- Send Path when resolving actions so we can correctly validate Policy for Composite Actions (#1250)
- Fixed an issue where composite steps would not run on `failure()` or `always()` when the job failed (#1273)
## Misc
- Allows flags instead of parameters when configuring the runner (#1220)
## Windows x64
We recommend configuring the runner in a root folder of the Windows drive (e.g. "C:\actions-runner"). This will help avoid issues related to service identity folder permissions and long file path restrictions on Windows.

View File

@@ -1 +1 @@
2.280.2
2.280.3

View File

@@ -294,6 +294,14 @@ 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)
@@ -389,6 +397,7 @@ namespace GitHub.Runner.Worker.Handlers
await RunStepAsync(step);
}
}
}
finally
{
if (jobCancelRegister != null)

View File

@@ -1 +1 @@
2.280.2
2.280.3