CI: Do package run-tests only if target packages were built
authorJeffery To <jeffery.to@gmail.com>
Wed, 10 May 2023 06:10:37 +0000 (14:10 +0800)
committerNick Hainke <vincent@systemli.org>
Mon, 26 Jun 2023 09:48:02 +0000 (11:48 +0200)
commit30b11070ade2c7d0273b50f85253c7a662da0371
treea1eb7ab49549d7cc97daa7b5d9f0a9e9385b59fc
parent6ed96f5be10da3476b5641353cfb661be6061a2d
CI: Do package run-tests only if target packages were built

Currently, the package run-test phase will fail for PRs that only
add/update host-only packages, as no target packages (*.ipk) are built.

This checks if any target packages are built before attempting the
run-tests.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 299ee2b1cfd20a7c9d31e8024b4333e8da035af3)
.github/workflows/multi-arch-test-build.yml