openslide / openslide-bin

Binary builds of OpenSlide and its dependencies
https://openslide.org/download/#binaries
GNU Lesser General Public License v2.1
19 stars 28 forks source link

workflows: update to artifacts v4 #207

Closed bgilbert closed 10 months ago

bgilbert commented 10 months ago

It's no longer possible for multiple jobs to accumulate results into the same artifact. Upload separate artifacts for the sdist and bdist archives, and have the release job download both via wildcard.

Unlike OpenSlide Python, which still needs the artifact Zips to have a containing directory name with build information, openslide-bin includes build information in archive names. Drop the containing directory from the artifact Zips in favor of directly wrapping the enclosed archives.

Continue using job output variables to pass artifact details within the workflow. However, since there's no longer a single artifact name or directory, workflow-level outputs would need separate variables for each artifact. Instead, drop the artifact output var, and require callers to use wildcards as needed.

The sdist/bdist archives are already compressed, so disable compression in their wrapper Zips.

openslide-bot commented 10 months ago

DCO signed off :heavy_check_mark:

All commits have been signed off. You have certified to the terms of the Developer Certificate of Origin, version 1.1. In particular, you certify that this contribution has not been developed using information obtained under a non-disclosure agreement or other license terms that forbid you from contributing it under the GNU Lesser General Public License, version 2.1.