jeandecampredon/Plakar Cache
Cache artifacts with content-aware deduplication powered by Plakar — drop-in replacement for actions/cache
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| path | A list of files, directories, and wildcard patterns to cache and restore (newline-separated) | yes | — |
| key | An explicit key for restoring and saving the cache | yes | — |
| restore-keys | An ordered newline-separated list of prefix-matched keys for fallback restore | no | — |
| save | Whether to save the cache in the post step (true/false) | no | true |
| pack-size | Target pack size in MB for Plakar chunking | no | 25 |
| plakar-version | Plakar binary version to use (e.g. "1.0.6" or "latest") | no | latest |
| storage-backend | Storage backend: github, azure, or s3 | no | github |
| azure-connection-string | Azure Blob Storage connection string (required when storage-backend is azure) | no | — |
| azure-container | Azure Blob container name | no | plakar-cache |
| s3-endpoint | S3-compatible endpoint URL (required when storage-backend is s3) | no | — |
| s3-bucket | S3 bucket name (required when storage-backend is s3) | no | — |
| s3-region | S3 region | no | us-east-1 |
| s3-access-key-id | S3 access key ID (required when storage-backend is s3) | no | — |
| s3-secret-access-key | S3 secret access key (required when storage-backend is s3) | no | — |
Outputs
| name | description |
|---|---|
| cache-hit | A boolean value indicating an exact match was found for the primary key |
| cache-matched-key | The cache key that was matched during restore |
| cache-restored | A boolean value indicating whether any cache was restored |
| cache-size | Size of data transferred in bytes |
| dedup-ratio | Deduplication ratio achieved (e.g. "2.5x") |
| upload-duration | Time in seconds spent uploading the cache (measured inside the post step) |