From 60cda0ec0cc2a77feee26e1a7e792830455e4c82 Mon Sep 17 00:00:00 2001 From: Vincent Fortier Date: Sat, 20 Nov 2021 15:30:16 +0000 Subject: [PATCH] download.sh: Fix as per @publicarray review --- .github/actions/download.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/actions/download.sh b/.github/actions/download.sh index a21005ed82dc..8019c5601257 100755 --- a/.github/actions/download.sh +++ b/.github/actions/download.sh @@ -28,12 +28,12 @@ build_packages="${NOARCH_PACKAGES} ${ARCH_PACKAGES}" if [ -z "${build_packages}" ]; then echo "===> No wheels to download. <===" - exit 0 +else + for package in ${build_packages} + do + echo "===> Download wheels: ${package}" + make -C spk/${package} download_wheel + done fi -for package in ${build_packages} -do - echo "===> Download wheels: ${package}" - make -C spk/${package} download_wheel -done echo ""