Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't upload multiple times to same artifact in "Manage PRs" workflow
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.
- Loading branch information