Skip to content

Add environment variable to prevent saving cache. #1308

@ForsakenHarmony

Description

@ForsakenHarmony

Describe the enhancement
On bigger repos, the maximum cache size of 10 GB is easily exceeded with PRs.

It would be nice if there was a global environment variable one could use to prevent saving cache in PRs.

I'm creating this issue here because if this was implemented at the library level, any action that uses this would automatically benefit from it without having to implement it themselves. I'm going around figuring out which actions are creating caches right now and creating issues for all of them.

Additional information
Swatinem/rust-cache#95

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