As templates, see https://github.com/NPLinker/nplinker/blob/main/.github/workflows/publish_gh_release.yml and https://github.com/NPLinker/nplinker/blob/main/.github/workflows/publish_to_pypi.yml.