Skip to content

Add path input value to output values when restoring cache #1082

@schloerke

Description

@schloerke

From https://github.com/actions/cache/blame/c17f4bf4666a8001b1a45c09eb7a485c41aa64c3/restore/README.md#L131

It is very important to use the same key and path that were used by either actions/cache or actions/cache/save while saving the cache.

To make sure I use the same exact path value, it would be nice to have the path value from actions/cache/restore@v3 or actions/cache@v3 stored as an output so it can be used in a followup actions/cache/save@v3 step.

(This can currently be done with cache-primary-key)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:granular-controlIssues related to granular control in saving or restoring cachestale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions