-
Notifications
You must be signed in to change notification settings - Fork 20.8k
Closed
Labels
Description
update_directory_md job always fails because of lack of python in a CI agent with specified version.
Github action failing declaration:
Run actions/setup-python@master
with:
token: ***
Error message:
Error: The specified python version file at: /home/runner/work/Java/Java/.python-version does not exist
I'm not familiar with github actions, but examples in setup-python action repository always specify version of python in the .yaml file, not the branch
So i think that problem is in @master part of the job declaration.
Can you try to change this line of job declaration to something like snippet below?
- uses: actions/setup-python@v3Or maybe release 4.0.0 of that github action could solve our problem, because there is something about python version file in the release notes