ci: Add sanity check for artifacts to post-build job 535/head test-01
authorManuel Nickschas <sputnick@quassel-irc.org>
Thu, 18 Jun 2020 19:50:55 +0000 (21:50 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Thu, 18 Jun 2020 20:54:23 +0000 (22:54 +0200)
commitb77fe9bda6ea7fd92ee974ac0774df9022c1ce73
treef6751a626c5c9c48e41f98d10324eed6e8b9a9ec
parent8c0f742c0d1732cde866011b56fa5d1725e0d668
ci: Add sanity check for artifacts to post-build job

Check if expected artifacts have been created for every workflow run,
not only for tagged commits. While this is just a rudimentary
sanity check, it would at least cause a CI failure if one of the
build jobs didn't produce artifacts for some reason.

A nice side effect is that unlike the former create-release job,
the new post-build job is not completely skipped for non-tagged
commits, and thus shows up as successful for every good CI run
(even though the individual steps required for creating a draft
release are skipped, of course).
This causes the GitHub UI to automatically collapse the (giant)
list of checks after they are all complete.
.github/workflows/main.yml