From 06bb3dd630eb23977ec599a759087c5880ccf6aa Mon Sep 17 00:00:00 2001 From: Erwan Leboucher Date: Fri, 28 Aug 2026 13:44:15 +0200 Subject: [PATCH] fix(flatpak): handle solo artifact layout in nightly repo assembly --- .github/workflows/tauri-build.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tauri-build.yml b/.github/workflows/tauri-build.yml index 8cbc235af..8214c5360 100644 --- a/.github/workflows/tauri-build.yml +++ b/.github/workflows/tauri-build.yml @@ -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