mirror of
https://github.com/awalsh128/cache-apt-pkgs-action.git
synced 2026-11-13 21:36:56 +00:00
Manifest.from built every entry with an empty file list and buildFileList was never called, so tar.create was handed no paths. node-tar throws "no paths specified to add to archive" for that, so every cache miss failed before saving. The runner now builds each manifest entry from buildFileList and passes the manifest to archiveAndSave. Packages with no files (e.g. metapackages) are skipped on archive and on restore since tar can't create an empty archive. Manifest.from is removed. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| action-runner.test.ts | ||
| action.test.ts | ||
| cache-restore.test.ts | ||
| cache.test.ts | ||
| instrumentation.test.ts | ||
| manifest.test.ts | ||
| packages.test.ts | ||