Skip to content

Option to keep a downloads cache #2134

@brechtm

Description

@brechtm

In setting up Chocolatey on a GitHub Actions workflow, I configured caching to help speed up installation of my dependencies MuPDF and ImageMagick.tool. To this effect, I'm caching %TEMP%\chocolatey. However, only the ImageMagick download is being cached. It appears the MuPDF package is deleted from the cache folder as soon as it's installed.

I understand this is due to a difference in how these two package are organized. However, I would like to propose to add an install/configuration option to not delete downloaded packages from the cache dir, so that they can be cached by a CI system.

In any case, thank you for a very useful tool!

Metadata

Metadata

Assignees

No one assigned

    Labels

    0 - TriagingIssue is accepted, but a milestone has yet to be added for the issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions