Skip to content

Actions/cache - Fan in from matrix jobs #26665

Answered by airtower-luna
nyarly asked this question in Actions
Discussion options

You must be logged in to vote

The cache is not meant for reliable transfer, it’s meant to avoid duplicate work on a best-effort basis. So I’d advise against this approach even if it happened to be working right now. 😅

What you should do instead is to use artifacts, see Storing workflow data as artifacts - GitHub Docs. Artifacts are meant exactly for the kind of scenario you describe, where data needs to be passed between parts of a build (or out of it).

If your artifacts are large and you don’t want to keep using the storage, you can set a short retention period when uploading the artifact.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dekimsey
Comment options

Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants