The official actions/download-artifact
doesn't support sharing artifacts across workflows. For the changesets
workflow there is a publish action which runs separately from the default ci action.
The ci
action should handle tests and the creation of artifacts.
The publish action should be able to consume these artifacts and publish the repository when everything passes via workflow_run
.
Thankfully someone has already built an action which does exactly what I need. Thank you open source and thank you Dawid! 🙏