You've already forked library-registry
mirror of
https://github.com/arduino/library-registry.git
synced 2025-07-09 01:42:00 +03:00
The `check-submissions` job of the "Run integration tests" GitHub Actions workflow is configured to generate multiple parallel jobs, one for each of the submitted libraries. The subsequent jobs must be able to determine whether any of the libraries failed the checks. This is done by the matrix jobs in which checks failed uploading a flag file to a GitHub Actions workflow artifact, then the subsequent jobs checking for the presence of an artifact. The "actions/upload-artifact" and "actions/download-artifact" actions are used for this purpose. Previously, a single artifact was used for all flag files, with each of the parallel jobs uploading its flag file to that single artifact. However, support for uploading multiple times to a single artifact was dropped in version 4.0.0 of the "actions/upload-artifact" action. So it is now necessary to use a dedicated artifact for each of the parallel jobs. These artifacts can be downloaded in aggregate by using the artifact name globbing feature which was introduced in version 4.1.0 of the "actions/download-artifact" action.