CI: do not crash during PKG-INFO generation if there are no packages
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Fri, 5 Nov 2021 12:06:15 +0000 (13:06 +0100)
committerPaul Spooren <mail@aparcar.org>
Thu, 23 Feb 2023 10:56:03 +0000 (11:56 +0100)
Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
(cherry picked from commit b5132de5cf4f7d0562445cf3c65f9f1a4bcb1bbf)

.github/workflows/multi-arch-test-build.yml

index c49f884ec0ff5b519a94b715171371fd811d79e7..19245c6c240ca86e2013bc88d81f1c992e760a02 100644 (file)
@@ -102,7 +102,7 @@ jobs:
           done
           echo >> PKG-INFO
           echo Full file listing: >> PKG-INFO
-          ls -al *.ipk >> PKG-INFO
+          ls -al *.ipk >> PKG-INFO || true
           cat PKG-INFO
 
       - name: Store packages