openslide / openslide-java

Java bindings to OpenSlide
https://openslide.org/
GNU Lesser General Public License v2.1
41 stars 24 forks source link

workflows: automatically create GitHub release when tagged #67

Closed bgilbert closed 7 months ago

bgilbert commented 7 months ago

Run meson dist on Linux in every build, because it's a good idea to test this and because the build job already installs the dependencies for meson setup. Archive the artifact, then conditionally run a second job to do the release.

This uses the same release-job pattern as OpenSlide Python, rather than starting a second workflow upon completion of the build workflow. This results in a skipped job in every PR's job list, but allows the passing of output variables between jobs.

Linux builds run in ubuntu-latest, not in a Fedora container, so the Autotools blobs in the source tarball will be generated on Ubuntu 22.04. That release has current versions of Autoconf and Automake, so this seems okay.

openslide-bot commented 7 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.