Skip to content

Add option to restore cache only (for PRs) #641

Closed
@ForsakenHarmony

Description

@ForsakenHarmony

Your feature request related to a problem? Please describe.

GitHub has a 10 GB limit for actions caches, this action alone is using 130 MB for us, it would be nice to not also get another 130 MB for each opened PR.

Describe the solution you'd like.

Add a save-cache option to be able to still restore cache (e.g. from main), but not save a new cache entry

Additional context.

actions/toolkit#1308
Swatinem/rust-cache#95 (has a save-if option https://github.com/Swatinem/rust-cache#example-usage)

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