Abacn commented on code in PR #31199:
URL: https://github.com/apache/beam/pull/31199#discussion_r1592989435
##########
.github/actions/setup-environment-action/action.yml:
##########
@@ -42,13 +42,13 @@ runs:
if: ${{ inputs.python-version != '' }}
uses: actions/setup-python@v4
with:
- python-version: ${{ inputs.python-version }}
+ python-version: ${{ inputs.python-version == 'default' && '3.8' ||
inputs.python-version }}
Review Comment:
If python-version not specified, this action won't install python.
I believe our self-hosted runner has pre-installed Java and Python (possibly
also go?), so it will default to the runner's java/python/go.
If we do `python-version: ${{ inputs.python-version || '3.8' }}`, this will
cause python always get installed when running this action
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]