-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cleanup install on ubuntu runners #730
Conversation
Breakpoint trunk-plugins-linter-tests was triggered on exit. Click here to connect to the session. |
Breakpoint trunk-plugins-linter-tests was triggered on exit. Click here to connect to the session. |
@@ -44,6 +44,11 @@ runs: | |||
|
|||
case "$RUNNER_OS" in | |||
Linux) | |||
# Cleanup any existing apt locks | |||
sudo killall apt-get || true | |||
sudo rm /var/lib/apt/lists/lock || true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a 2-day old apt-get process that still had the lock on one of the runners. This should rarely/never happen, so just clean up as part of the action runner process, because it will fail otherwise anyway
Fix failures introduced by php setup. Successful run