mirror of
https://github.com/actions/runner.git
synced 2025-12-11 12:57:05 +00:00
Make sure to drain the upload queue before clean temp directory (#3125)
This commit is contained in:
@@ -298,6 +298,8 @@ namespace GitHub.Runner.Worker
|
||||
jobContext.Warning(string.Format(Constants.Runner.EnforcedNode12DetectedAfterEndOfLife, actions));
|
||||
}
|
||||
|
||||
await ShutdownQueue(throwOnFailure: false);
|
||||
|
||||
// Make sure to clean temp after file upload since they may be pending fileupload still use the TEMP dir.
|
||||
_tempDirectoryManager?.CleanupTempDirectory();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user