actions-marketplace-validations/Setup PDM

Set up a specific version of PDM and uses a given Python version to work on

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
python-versionVersion range or exact version of a Python version to use, using SemVer's version range syntax.
python-version-fileFile containing the Python version to use. Example: .python-version
architectureThe target architecture (x86, x64, arm64) of the Python interpreter.no
allow-python-prereleasesAllow prerelease versions of Python to be installed.nofalse
freethreadedUse the freethreaded version of Python.nofalse
tokenUsed to pull python distributions from actions/python-versions. Since there's a default, this is typically not supplied by the user.no${{ github.token }}
versionThe version of PDM to install, or 'head' to install from the main branch.no
prereleaseAllow prerelease versions to be installednofalse
enable-pep582Enable PEP 582 package loading globally.nofalse
cacheCache PDM installation.nofalse
cache-dependency-pathThe dependency file(s) to cache.nopdm.lock
cache-restore-exact-matchRestore cache ONLY on exact match with the primary key. Note: Post-installation cache will still be saved if cache is 'true'. nofalse
update-pythonWhether to update the environment with the requested Pythontrue
namedescription
python-versionThe installed Python or PyPy version. Useful when given a version range as input.
python-pathThe absolute path to the Python or PyPy executable.
pdm-versionThe installed PDM version.
pdm-binThe absolute path to the PDM executable.
cache-hitWhether or not there was a cache hit.