{"repo":"airvzxf/cache-anything-new-action","free":true,"listed":false,"github":"https://github.com/airvzxf/cache-anything-new-action","clone":"git clone https://github.com/airvzxf/cache-anything-new-action.git","description":"GitHub actions: Cache anything new","language":"Shell","stars":17,"topics":["github-actions","cache","github-action"],"license":"AGPL-3.0","category":"deployment-docker-iac","readme_excerpt":"Cache Anything New Action This GitHub action scan the Linux container to check if anything new was added after you run your custom script then it will cache all the new files. Optional, you can get the live version which has the last commits using the main branch like this uses: airvzxf/cache-anything-new-action@main . Based on the solution that I posted in [Stack Overflow][StackOverflowPost] and the implementation in some personal project. Usage example Create your script as .github/workflows/install.sh to install or make an application, also you can add files into specific directories. Add the action in .github/workflows/your action.yml . The complete example: I created a dummy example here: - [Workflows directory][workflows] - [cache anything new action.yml][actionYml] - [install.sh][installScript] - [Action: Workflow][actions] Settings The uses: actions/cache is required because it needs this external action to store the cache, the cache anything action only find the new created files and store in a temporal directory which will be cached by actions/cache . Option Description Required Default Example --- --- --- --- --- script Create your bash script to execute the commands. They will be generated files and it will stored in the cached. This script needs to be the same directory as your action: .github/workflows/ . Yes N/A hello-world.sh is cached Boolean value to check if the cache was created. It should be the same as the actions/cache id . Yes N/A ${{ steps.cache-id.ou","default_branch":null,"files":null,"tree":[],"storefront":"/r/airvzxf","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/airvzxf/cache-anything-new-action/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}