Skip to content

cache: add sudo as an option #946

@rockandska

Description

@rockandska

Describe the enhancement
Many people would like to cache some "system" directory but are not able to since it is the runner user who make the tar.
Adding a sudo option who could be used later by actions/cache will solve the problem

Code Snippet
There are many demands about it :
actions/cache#181 (comment)
actions/cache#133 (comment)
actions/cache#155
actions/cache#324 (comment)
actions/cache#629

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions