mirror of
https://github.com/ivuorinen/actions.git
synced 2026-01-26 03:23:59 +00:00
This commit updates all internal action references to point to the current commit SHA in preparation for release v2025.10.26.
ivuorinen/actions/python-version-detect-v2
Python Version Detect v2
Description
Detects Python version from project configuration files using enhanced detection logic.
Inputs
| name | description | required | default |
|---|---|---|---|
default-version |
Default Python version to use if no version is detected. |
false |
3.12 |
token |
GitHub token for authentication |
false |
"" |
Outputs
| name | description |
|---|---|
python-version |
Detected or default Python version. |
package-manager |
Detected Python package manager (pip, poetry, pipenv). |
Runs
This action is a composite action.
Usage
- uses: ivuorinen/actions/python-version-detect-v2@main
with:
default-version:
# Default Python version to use if no version is detected.
#
# Required: false
# Default: 3.12
token:
# GitHub token for authentication
#
# Required: false
# Default: ""