Skip to content

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

Notifications You must be signed in to change notification settings

thebrowsercompany/check-python-exists

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

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.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •