Skip to content

Introduce cache-hit output #371

@dhvcc

Description

@dhvcc

Description:
I'd like to propose adding a new output called cache-hit (like in actions/cache) to show whether dependency cache was hit.

Justification:
Since this action utilizes caching mechanic I think it would be needed to have this meta data in output since we can't access internal steps from outside.
This would be helpful if, for example, we need add stuff to PATH if this cache was hit. Another example is when you want to do optional poetry install, because there's no lock file and poetry will first try to resolve even if deps are there.

Are you willing to submit a PR?
Yes, for sure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestNew feature or request to improve the current logic

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions