-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
We've run into a problem where disk space ran out on a self-hosted runner because this action (or more accurately aws-cli) does not clean up old installations after an update.
/usr/local/aws-cli/v2 is filled with hundreds of folders of old versions.
I've currently added the following workaround:
sudo find -L '/usr/local/aws-cli/v2' -mindepth 1 -maxdepth 1 \! -xtype l \! -samefile '/usr/local/aws-cli/v2/current' -exec rm -rf '{}' \+
Given that this action knows more about the (here hardcoded) paths, it would be great if such a step could be added to this action (possibly controlled via an input).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels