We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48c3f59 commit 01c763aCopy full SHA for 01c763a
.github/workflows/pr-build-test.yaml
@@ -242,11 +242,12 @@ jobs:
242
pkg_family=$(echo "$recipe_path" | cut -d'/' -f2)
243
recipe_name=$(basename "$recipe_path" .yaml 2>/dev/null || echo "unknown")
244
245
- # Determine cache type from path
246
- if echo "$recipe_path" | grep -q "^packages/"; then
247
- CACHE_TYPE="pkgcache"
248
- else
+ # Determine cache type from pkg_type (first part of recipe name)
+ pkg_type=$(echo "$recipe_name" | cut -d'.' -f1)
+ if [ "$pkg_type" = "static" ] || [ "$pkg_type" = "dynamic" ]; then
249
CACHE_TYPE="bincache"
+ else
250
+ CACHE_TYPE="pkgcache"
251
fi
252
253
case "$status" in
0 commit comments