mirror of
https://github.com/SableClient/Sable.git
synced 2026-11-20 17:11:17 -08:00
fix(flatpak): handle solo artifact layout in nightly repo assembly (#1983)
This commit is contained in:
1 file changed
+8
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user