mage-action
mage-action copied to clipboard
Running as sudo
Hi,
I need to clear up space on my github runner instance by removing unused directories, specifically the 20+GB inside /usr/share/dotnet. This requires me to run the commands as sudo. I would like to put this inside mage so I can share this logic with all my actions. I cannot use the mage-action to do this since this rm command requires sudo.
Is it possible to have a flag to run the mage command inside sudo?
Thanks!
I guess we could have a new input for this but we should have disclaimer that this is not recommended in docs.