This repository contains custom GitHub actions for MREYE-LUMC projects.
Set up a specified version of Python in your GitHub Actions workflow and optionally install the dependencies.
python-version: The Python version to set up (e.g., '3.13', '3.14', etc.). If not specified, the version in.python-versionor otherwise the default version provided by GitHub Actions will be used.sync: If set totrue, the action will install the dependencies listed inpyproject.tomlusinguv sync.
Build a Python package and upload the built distributions as artifacts.
python-version: The Python version to use for building the package (e.g., '3.13', '3.14', etc.). If not specified, the version in.python-versionor otherwise the default version provided by GitHub Actions will be used.artifact-name: The name of the artifact to upload. Default ispython-distributions.artifact-path: The path to the built distributions. Default isdist/.
Publish a Python package to PyPI and GitHub Releases.
tag: The git tag that triggers the publish action. Can be obtained using${{ github.ref }}.python-version: The Python version to use for building the package (e.g., '3.13', '3.14', etc.). If not specified, the version in.python-versionor otherwise the default version provided by GitHub Actions will be used.artifact-name: The name of the artifact to upload. Default ispython-distributions.artifact-path: The path to the built distributions. Default isdist.testpypi: If set totrue, the package will be published to TestPyPI instead of PyPI.