fix(flatpak): handle solo artifact layout in nightly repo assembly

This commit is contained in:
Erwan Leboucher committed 2026-08-28 13:44:15 +02:00
1 parent 8ba2d7750a
commit 06bb3dd630
1 file changed
+8 -1
+8 -1
View File
@@ -1000,7 +1000,14 @@ jobs:
# A fresh repo each night: older commits point at pruned assets.
mkdir -p site/repo
ostree --repo=site/repo init --mode=archive-z2
for src in arch-repos/*/; do
# download-artifact extracts a solo pattern match directly into the
# path; multiple matches land in per-artifact subdirectories.
if [ -e arch-repos/config ]; then
repos=(arch-repos/)
else
repos=(arch-repos/*/)
fi
for src in "${repos[@]}"; do
echo "Pulling $src"
ostree --repo=site/repo pull-local "$src"
done