feature: add a python-path output#405
Merged
marko-zivic-93 merged 1 commit intoactions:mainfrom May 25, 2022
Merged
Conversation
brcrista
reviewed
May 23, 2022
interpreter-path outputpython-path output
brcrista
reviewed
May 23, 2022
Contributor
Author
|
The failure for |
|
Hi @mayeut, why you don't want to use |
|
The output works doesn't rely on modifying the environment, and doesn't get overwritten. So you could do multiple setup-python's, and access the correct output. An example of this might be problematic: - uses: actions/setup-python@v3
with:
python-version: "3.7"
- uses: some/composite-action@v1 # Runs a different setup-python internally
# Now pythonLocation is no longer the 3.7 one! |
vsafonkin
reviewed
May 24, 2022
brcrista
reviewed
May 24, 2022
Expose a `python-path` output containing the chosen Python executable path.
Contributor
Author
|
The failure for e2e-cache / Test poetry (Python pypy-3.7-v7.x, windows-latest) seems unrelated to changes in this PR. |
brcrista
approved these changes
May 24, 2022
vsafonkin
approved these changes
May 25, 2022
marko-zivic-93
approved these changes
May 25, 2022
tdfacer
pushed a commit
to ifit/setup-python
that referenced
this pull request
Oct 7, 2025
feature: add a `python-path` output
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description:
Expose a
python-pathoutput containing the chosen Python executable path.Related issue:
fix #309
mitigate #132
Check list: