Skip to content

[BUG] save-always input doesn't work #36

@deemp

Description

@deemp

Describe the bug

I set save-always: true, but c-n-a didn't save the cache (link).

To Reproduce

Run linked workflow in a fork.

Expected behavior

The cache is saved despite an error on a step

Additional context

Currently, c-n-a implements save-always in a wrong way just like actions/cache does (actions/cache#1315).

actions/cache#1325 may fix the problem for actions/cache.

UPD

The save-always attribute will probably be deprecated in future (actions/cache#1315 (comment)). It's advised to have separate restore and save steps.

Metadata

Metadata

Assignees

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