Skip to content

Running as sudo #222

@cep21

Description

@cep21

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!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions