Patch(cache): ensure cache exists before uploading

What does this MR do?

The change ensures there's at least one file before creating a zip archive, to avoid creating an empty cache.

Why was this MR needed?

To ensure no-ops like these make no cache.

What's the best way to test this MR?

What are the relevant issue numbers?

#38852 (closed)

Merge request reports

Loading