-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
It seems actions/cache
is not able to restore C++ artifacts in such a way that they can be used from the build.
We're using node.js source code directly as part of our app. Usually, nodejs build takes ~30mins. I want to improve our CI builds using actions/cache
and cache whole node.js's source code along with build artifacts. The problem is that the second build throws an error as it is not able to execute one of cached binaries. It seems the binary is getting corrupted and it is no longer recognized.
It seems the problem is related to how actions/cache
handles and processes provided input files.
It works if I manually create a zip, upload it to s3 and download it from the build.
I created a repo that demonstrates the problem - https://github.com/Fatme/cache-actions-issue