CI: do not crash during PKG-INFO generation if there are no packages
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Tue, 9 Nov 2021 11:07:37 +0000 (12:07 +0100)
committerPaul Spooren <mail@aparcar.org>
Tue, 9 Nov 2021 17:41:16 +0000 (07:41 -1000)
Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
.github/workflows/multi-arch-test-build.yml

index cd5b93f44d6ace8e4e977402cc854e95778cf546..ed6c22b7e7d6f3f1252e00bc09aed8440e896d5d 100644 (file)
@@ -128,7 +128,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