{"id":19274499,"url":"https://github.com/cgrindel/gha_set_up_action_cache","last_synced_at":"2026-02-16T23:34:02.048Z","repository":{"id":45073185,"uuid":"445621061","full_name":"cgrindel/gha_set_up_action_cache","owner":"cgrindel","description":"GitHub Action to configure an action cache.","archived":false,"fork":false,"pushed_at":"2025-08-11T15:13:19.000Z","size":33,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-05T18:29:46.323Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cgrindel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-07T18:46:30.000Z","updated_at":"2025-08-11T15:13:23.000Z","dependencies_parsed_at":"2023-01-23T13:45:13.281Z","dependency_job_id":"91e9f135-aefc-489a-a2a7-5cf2e6a91a4e","html_url":"https://github.com/cgrindel/gha_set_up_action_cache","commit_stats":{"total_commits":7,"total_committers":2,"mean_commits":3.5,"dds":0.4285714285714286,"last_synced_commit":"c0da2c43e169675ad02bd3ee3332889aa39ba2a8"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/cgrindel/gha_set_up_action_cache","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cgrindel%2Fgha_set_up_action_cache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cgrindel%2Fgha_set_up_action_cache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cgrindel%2Fgha_set_up_action_cache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cgrindel%2Fgha_set_up_action_cache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cgrindel","download_url":"https://codeload.github.com/cgrindel/gha_set_up_action_cache/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cgrindel%2Fgha_set_up_action_cache/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279011295,"owners_count":26084928,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T20:46:23.376Z","updated_at":"2025-10-12T12:35:30.696Z","avatar_url":"https://github.com/cgrindel.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Set Up Action Cache GitHub Action \n\nGitHub Action to configure an action cache with restore keys that consist of a prefix, the runner\nOS, a cache name, and a suffix.\n\n\n## Quickstart\n\nTypically, a workflow will set up a cache directory to save workflow artifacts between runs. The\nselection of values for the `key_prefix`, the `cache_name`, and the `key_suffix` are related to how\nyou want to the cache to match/invalidate. One should set the `cache_name` to a stable, meaningful\nvalue. The `key_suffix` should be set to an expression that hashes a meaningful set of files in the\nrepository. The `key_prefix` need only be set if/when it is necessary to invalidate all previous\ncache values.See [actions/cache](https://github.com/actions/cache) for more details.\n\n```yaml\njobs:\n  ubuntu_build:\n    runs-on: ubuntu-20.04\n    steps:\n    - uses: actions/checkout@v2\n\n    - name: Test Cache for CI\n      uses: cgrindel/gha_set_up_action_cache@v1\n      with:\n        path: ~/.cache/my_cache\n        key_prefix: \"2022-01-10T16:19:15\" \n        cache_name: gha_set_up_action_cache_ci\n        key_suffix: ${{ hashFiles('**/foo.lock') }}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcgrindel%2Fgha_set_up_action_cache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcgrindel%2Fgha_set_up_action_cache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcgrindel%2Fgha_set_up_action_cache/lists"}