Skip to content

Support cache_save and cache_restore as separate options #163

@pulkit-apriori

Description

@pulkit-apriori

The current version supports a single cache flag which controls both saving and restoring.

In my workflow, I generally save caches only from the main branch to avoid trashing (non-configurable 10GB limit) but it is useful to have the ability to restore those caches to non-default branches.

Github's cache actions has two separate actions allowing this behavior - https://github.com/actions/cache/blob/main/restore/README.md and https://github.com/actions/cache/blob/main/save/README.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions