openvino/.github/actions/cache
Mikhail Ryzhov 6ab4dc11e8
[CI][GHA] Custom compressed cache action (#23709)
### Details:
We have introduced a new custom action that uploads and downloads cached
files as monolithic tarballs. It functions similarly to the GHA cache
action but utilizes mounted shared disks to save and restore caches.

The action searches for tarball files in the specified cache directory,
filters them by restore keys, and sorts them by access time. The most
recently accessed file will be downloaded and extracted to the runner
file system. As a post-action step, it archives files to the tarball and
uploads them to the remote share. Additionally, it provides the ability
to clean up old cache files.

It also includes the following separate actions:
 - Restore 
 - Save
 - Cleanup
 
These actions can be used individually in workflows

For example, its usage is demonstrated in the PR, which includes changes
to the .github/workflows/linux_riscv.yml file

### Tickets:
 - *ticket-id*
2024-04-04 12:54:46 +00:00
..
__tests__ [CI][GHA] Custom compressed cache action (#23709) 2024-04-04 12:54:46 +00:00
cleanup [CI][GHA] Custom compressed cache action (#23709) 2024-04-04 12:54:46 +00:00
dist [CI][GHA] Custom compressed cache action (#23709) 2024-04-04 12:54:46 +00:00
linters [CI][GHA] Custom compressed cache action (#23709) 2024-04-04 12:54:46 +00:00
restore [CI][GHA] Custom compressed cache action (#23709) 2024-04-04 12:54:46 +00:00
save [CI][GHA] Custom compressed cache action (#23709) 2024-04-04 12:54:46 +00:00
src [CI][GHA] Custom compressed cache action (#23709) 2024-04-04 12:54:46 +00:00
.eslintignore [CI][GHA] Custom compressed cache action (#23709) 2024-04-04 12:54:46 +00:00
.node-version [CI][GHA] Custom compressed cache action (#23709) 2024-04-04 12:54:46 +00:00
.prettierignore [CI][GHA] Custom compressed cache action (#23709) 2024-04-04 12:54:46 +00:00
.prettierrc.json [CI][GHA] Custom compressed cache action (#23709) 2024-04-04 12:54:46 +00:00
action.yml [CI][GHA] Custom compressed cache action (#23709) 2024-04-04 12:54:46 +00:00
package-lock.json [CI][GHA] Custom compressed cache action (#23709) 2024-04-04 12:54:46 +00:00
package.json [CI][GHA] Custom compressed cache action (#23709) 2024-04-04 12:54:46 +00:00