Cleanup Older versions on MacOS now that we recreate node versions as needed (#1410)

* Cleanup old version update code

* fix template

* fix indents
This commit is contained in:
Thomas Boop
2021-10-19 10:15:37 -04:00
committed by GitHub
parent 55a861f089
commit 57dec28f68
2 changed files with 5 additions and 53 deletions

View File

@@ -75,11 +75,9 @@ namespace GitHub.Runner.Listener
Trace.Info($"All running job has exited.");
// We need to keep runner backup around for macOS until we fixed https://github.com/actions/runner/issues/743
#if !OS_OSX
// delete runner backup
DeletePreviousVersionRunnerBackup(token);
Trace.Info($"Delete old version runner backup.");
#endif
// generate update script from template
await UpdateRunnerUpdateStateAsync("Generate and execute update script.");