Skip to content

Consider deferring cache saving to the action post step #245

@olivier-lacroix

Description

@olivier-lacroix

Currently, the cache saving happens just after the install step.

Deferring cache saving to the post stage would allow caching "more", and in particular, caching the output of tasks that carry out some environment setup.

For instance, we are using gcloud and some optional components, that can be installed via a gcloud components install command. Currently, this cannot be cached by the setup-pixi action, as the cache is saved before we can run the task.

In addition, this would allow removing the cache saving from the 'hot path' (granted, it's pretty quick, and not called that often).

Do you see any downside in deferring cache saving to the setup-pixi action post step?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions