TAAFT
Free mode
100% free
Freemium
Free Trial
Deals

check-python-exists

thebrowsercompany / check-python-exists

Simple action to ensure the desired Python version exists on the running machine

0 0 Language: null Updated: 1y ago

README

check-python-exists

This is a basic wrapper around the GHA provided actions/setup-python that:

  1. avoids the issue with requiring sudo and having /Users/runner/hostedtoolcache on the self hosted runner.
  2. Add support for Windows/ARM64 until it is fixed upstream.
  • If is-self-hosted: false then this falls back to actions/setup-python at v5.0.0.
  • If python-version is provided, that takes precedence over any existing .python-version files
  • If running on Windows/arm64, uses a hack hardcoded for 3.11.
  • If you need to point to a different .python-version file, pass the path relative to the current working directory to the python-version-file parameter.
0 AIs selected
Clear selection
#
Name
Task