commit | c5c38ee6c8fd68708016c92dfadb1f9ce49fbf91 | [log] [tgz] |
---|---|---|
author | Ash Berlin-Taylor <ash_github@firemirror.com> | Tue May 18 10:48:09 2021 +0100 |
committer | GitHub <noreply@github.com> | Tue May 18 10:48:09 2021 +0100 |
tree | cd7d1abccd6cac8d4b41be6b99a03c364eaf0154 | |
parent | 82d9ba23db12f0bcd3e0c8b0a0ee5e6a9a133b19 [diff] |
Don't kill Runner.Listener when steps running (#30) Because of the `--once` flag we already pass to the deamon, _if_ there were any jobs running, then the main actions-runner deamon (the Runner.Listener process) will shut it self down once it's _actually_ finished. So we want to avoid the `pkill Runner.Listener` in the case when a step was executing, as otherwise we will likely kill the deamon before it has a chance to complete the job/report back to GitHub/run the next step.