From 240fc4a6d15cc7e875809b1d2f3d702b7812fd01 Mon Sep 17 00:00:00 2001 From: Tony Hutter Date: Wed, 26 Mar 2025 12:57:07 -0700 Subject: [PATCH] runners: Fix zfs-release RPM creation (#17173) The zfs-qemu-packages workflow was incorrectly copying the built zfs-release RPMs to ~/zfsonlinux.github.com rather than ~/zfs. This meant that the RPMs were not being correctly picked in the artifacts files. This fixes the issue. Signed-off-by: Tony Hutter Reviewed-by: Brian Behlendorf Reviewed-by: @ImAwsumm Reviewed-by: Tino Reichardt --- .github/workflows/scripts/qemu-4-build-vm.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/scripts/qemu-4-build-vm.sh b/.github/workflows/scripts/qemu-4-build-vm.sh index 766352ba8..9d3cd76ca 100755 --- a/.github/workflows/scripts/qemu-4-build-vm.sh +++ b/.github/workflows/scripts/qemu-4-build-vm.sh @@ -259,8 +259,9 @@ function rpm_build_and_install() { # ZFS release RPMs are built. Copy them to the ~/zfs directory just to # keep all the RPMs in the same place. - cp ~/rpmbuild/RPMS/noarch/*.rpm . - cp ~/rpmbuild/SRPMS/*.rpm . + cp ~/rpmbuild/RPMS/noarch/*.rpm ~/zfs + cp ~/rpmbuild/SRPMS/*.rpm ~/zfs + popd rm -fr ~/rpmbuild echo "##[endgroup]"