We’re migrating to the new cache system and I noticed a very high save cache time (44m) compared to (2m) on the legacy system.
Input:
- verbose: true
- derived_data_path: ~/Library/Developer/Xcode/DerivedData/**
- project_path: Pivot.xcworkspace
- compression_level: 3
Both Derived Data Path (derived_data_path) and Xcode Project Path (project_path) Inputs are provided, only derived_data_path is used, project_path is ignored
Cache key: {{ .OS }}-{{ .Arch }}-spm-cache-{{ checksum "**/Package.resolved" }}
Cache paths:
~/Library/Developer/Xcode/DerivedData/**/SourcePackages
Evaluating key template: {{ .OS }}-{{ .Arch }}-spm-cache-{{ checksum "**/Package.resolved" }}
Build trigger doesn't have an explicit git commit hash, using the Git Clone Step's output for the .CommitHash template variable (value: 88f7dda2bd80a083276dfb1d1d8341d4c61a51d9)
Files included in checksum:
- Pivot.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
- Pivot.xcworkspace/xcshareddata/swiftpm/Package.resolved
- developer/Package.resolved
Cache key: darwin-arm64-spm-cache-da794d34079f64dd704c0e56403a217c7a5e30d0473a8708c4297e87e995685a
Cache save can be skipped, reason: a cache with the same key was restored in the workflow, new cache would have the same content