Repository navigation
Local Cache Action v1.0.0
π Initial Release
Features
- β Cache any files or directories locally on GitHub runners
- β Support for multiple cache paths with flexible patterns
- β Configurable cache keys with restore fallbacks
- β Cross-platform support (Linux, macOS, Windows)
- β Advanced options: upload chunk size, cross-OS archives
What's Included
- π¦ Pre-built TypeScript action ready to use
- π§ͺ 98% test coverage with comprehensive test suite
- π Complete documentation with examples for Node.js, Python, Java
- π·οΈ Semantic versioning with major version tags
Usage
- name: Cache dependencies
uses: ozankasikci/github-actions-local-cache@v1
with:
path: |
~/.npm
node_modules
key: ${{ runner.os }}-deps-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-deps-Technical Details
- Built with TypeScript 5.2
- Uses @actions/cache API
- Professional error handling and logging
- Full compatibility with GitHub Actions ecosystem
Perfect for speeding up your CI/CD workflows! π