Windows builds are unable to finish

I have an open source project which uses Windows builds. Though the build script finishes successfully it fails to upload caches and finalize the job:

changes detected, packing new archive

gzip: warning: GZIP environment variable is deprecated; use an alias or script
uploading PR.9/cache--windows-1803-containers-ba7859aa65cad2604e6d51a7d93ac486ad7467be47254259f61fd0af2a461343--node-12.tgz
cache uploaded

Done. Your build exited with 0.

No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.

Check the details on how to adjust your build configuration on:

The build has been terminated

I’ve tried to restart the build multiple times, but it always stuck on uploading a cache to Travis servers and marks the build as failed. You can find it here: