neuroinformatics-unit / actions

Re-usable GitHub Action scripts
MIT License
10 stars 3 forks source link

Provide optional python version for build_sphinx_docs #23

Closed niksirbi closed 1 year ago

niksirbi commented 1 year ago

The build_sphinx_docs action always uses the latest stable Python version available on GitHub actions (now it's 3.12). However, this may cause problems for the documentation builds of some packages, for example see here.

This PR provides an optional python-version input for this action, so the default python-version: 3.x can be overridden when necessary.

Merging this PR, followed by a new release, is required to unblock movement PRs.