We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80b67fd commit c58f731Copy full SHA for c58f731
.github/workflows/cachix-push.yaml
@@ -74,9 +74,9 @@ jobs:
74
}
75
})
76
77
- # Calculate totals
78
- let total_paths_count = ($build_results_with_cache_info | get path_count | math sum)
79
- let total_cached_count = ($build_results_with_cache_info | get cached_count | math sum)
+ # Calculate totals (default to 0 if empty)
+ let total_paths_count = ($build_results_with_cache_info | get path_count | default 0 | math sum)
+ let total_cached_count = ($build_results_with_cache_info | get cached_count | default 0 | math sum)
80
81
# Build summary
82
let package_table = ($build_results_with_cache_info | each {|pkg|
0 commit comments