ci: Add sanity check for artifacts to post-build job
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 21:28:16 +0000 (23:28 +0200)
commite7423a5e9294193847e9cd1ee22a688cd01a9d75
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