fix(ci): flatten RPM artifacts before signing
All checks were successful
poll-upstream / check (push) Successful in 1s

Gitea's download-artifact does not support merge-multiple, so RPMs
end up in subdirectories. Add a step to move them into the expected
flat directory before publish-repo.sh runs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-24 17:05:55 +03:00
parent 75806fd1d9
commit 82a04c88dc

View File

@@ -119,7 +119,11 @@ jobs:
with: with:
path: rpms/ path: rpms/
pattern: rpm-* pattern: rpm-*
merge-multiple: true
- name: Flatten RPM artifacts
run: |
find rpms/ -name '*.rpm' -exec mv --target-directory=rpms/ {} +
find rpms/ -mindepth 1 -type d -empty -delete
- name: Import signing key - name: Import signing key
run: | run: |