Closed zhassan-aws closed 3 months ago
Hi, thank you for opening an issue.
This duplicated cache saving behavior and corresponding error is caused by lean-action
utilizing a combination of actions/cache
(restores and saves cache) and actions/cache/save
(just saves cache). I don't think this has a functional impact on the behavior of the lean-action
, but it is inefficient and not ideal.
I have opened #97 to replace actions/cache
with actions/cache/restore
, which is more fitting and prevents unnecessary cache saving and will prevent this error moving forward.
I'm seeing an error in the action log:
https://github.com/zhassan-aws/rust-lean-models/actions/runs/10584292641/job/29328218478#step:5:4
Error:
This is the workflow file:
https://github.com/zhassan-aws/rust-lean-models/actions/runs/10584292641/workflow
Is the error expected?
It doesn't cause the action to fail though, which is good.