cdkovacs/Setup Python (Artifactory)

Air-gap-friendly drop-in replacement for actions/setup-python that fetches Python from a JFrog Artifactory mirror.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit May 11, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: cdkovacs/setup-python-artifactory@311da3a89817c0c0722b9c026f70b8a293f84304 # no releases — HEAD as of 2026-07-11

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
python-versionVersion range or exact version of Python to use, using SemVer syntax. Reads from python-version-file if omitted.no
python-version-fileFile containing the Python version (e.g. .python-version). Used when python-version is not set.no
architectureTarget architecture (x86, x64, arm64). Defaults to the runner architecture.no
check-latestRe-check the manifest for a newer matching version on every run, even if a satisfying version is already in the tool cache.nofalse
allow-prereleasesMatch prerelease versions when no GA version satisfies the range.nofalse
update-environmentUpdate PATH and set pythonLocation / PKG_CONFIG_PATH / Python_ROOT_DIR after install.notrue
artifactory-urlBase URL of Artifactory, e.g. https://artifactory.example.com/artifactoryyes
artifactory-repoName of the generic repo holding the manifest and tarballs (e.g. python-binaries-generic-local).yes
artifactory-tokenBearer token (Artifactory access/identity token) used to fetch the manifest and binaries. Pass via a secret.yes
manifest-pathPath within the repo to the versions manifest. Defaults to versions-manifest.json at the repo root.noversions-manifest.json
namedescription
python-versionThe installed Python version (e.g. 3.11.9).
python-pathAbsolute path to the python executable.
cache-hitTrue when the requested version was already present in the runner tool cache.