I have a composite action that I’d like to package up so I can reuse it. It’s just running a python script:
run: python tools/build_changelog.py CHANGELOG.md RECENT_CHANGES.md
So, I want to bundle it up. However, the script needs to be run under python3, and I can’t tell what the best way to express this is. Should I:
setup-pythonto specify the version in my action
- Require the calling workflow to have specified the appropriate python version
I guess the root of this is that I’m not sure whether setup-python causes changes to the overall runner environment such that an action running it would maybe change the python version for the entire workflow, or whether everything is entirely walled off.