Bootstrap empty DEV PBO cache
Deploy DEV Workshop / deploy-dev-workshop (push) Failing after 52s

This commit is contained in:
Valmo Trindade
2026-07-14 20:34:52 +00:00
parent ffb9412427
commit a47dc3fa03
+14
View File
@@ -147,6 +147,20 @@ jobs:
fi
fi
if ! find /cache/pbo/addons -maxdepth 1 -name '*.pbo' -print -quit 2>/dev/null | grep -q .; then
echo "PBO cache is empty; bootstrapping all buildable addons."
mapfile -t changed_addons < <(
git ls-tree -d --name-only "$GIT_SHA" |
awk '/^braf_/ {print}' |
while read -r addon; do
if git cat-file -e "$GIT_SHA:$addon/config.cpp" 2>/dev/null; then
printf '%s\n' "$addon"
fi
done
)
metadata_changed=true
fi
if [[ "${#changed_addons[@]}" -eq 0 && "$metadata_changed" != "true" ]]; then
echo "No addon or workshop metadata changes detected; skipping DEV Workshop deploy."
exit 0