I am using GitHub actions to run a file every day (the file is named newday.py and is in project folder). the requirements.txt file is in the root directory. the actions.yml file is in the .github/worksflows directory.
I am getting this error:
Run python -m pip install --upgrade pipRequirement already satisfied: pip in c:\hostedtoolcache\windows\python\3.9.13\x64\lib\site-packages (24.0)ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'Error: Process completed with exit code 1.
Since requirements.txt is in the root directory I have not given a path to it.I have also checked that there is no spelling error in naming the file.I had previously tried giving a path to it, but even then I encountered the same error.
Image - The root directory- it has requirements.txt
Image -.github/workflows/actions.yml file code regarding requirements.txt