About this project

This GitHub Action facilitates file compression and decompression directly within CI/CD workflows. It supports six archive formats: `zip`, `tar`, `tgz`, `tbz2`, `txz`, and `tzst` (zstd). Key features include password protection for `zip` archives, SHA256 checksum verification during decompression to prevent data corruption or tampering, and built-in protection against zip-slip vulnerabilities. The action generates a comprehensive job summary, displaying archive sizes, compression ratio, file count, duration, and checksum, which is rendered directly on the GitHub Actions run page. It also exposes these metrics as step outputs for use in subsequent workflow steps, enabling conditional logic or reporting. Users can control compression levels from 0 (store only) to 9 (maximum) and utilize glob patterns to match multiple files. The action supports excluding specific files or directories, stripping path prefixes, and preserving directory structures when using glob patterns. It offers flexible options for custom destination paths and filenames. Troubleshooting guidance is provided for common issues such as source not found, glob pattern mismatches, large archive sizes, incorrect exclude syntax, checksum mismatches, and unsafe archive errors.