Skip to content

[Feature request] Allow configuration of zstd compression level #2050

Open
@lmmx

Description

@lmmx

I'd like to configure zstd compression for my cache, and was surprised to find this is not configurable. Can this be supported by an env var?

For example, sccache supports SCCACHE_CACHE_ZSTD_LEVEL (default: 3) which significantly modifies cache size.

My understanding is that this repo is the source of the zstd functionality in the actions/cache Action (and in turn, the likes of prefix-dev/setup-pixi which delegate caching to the cache action and hence to this toolkit action).

As such, the ability to configure the zstd compression level in this toolkit action would be immediately useful to me if it allowed configuration via environment variable (as is done in sccache).

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