I am trying to create a CI github action, and I have problems accessing a file that is in a submodule of the repository:
ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'directory_in_sub_module/requirements.txt'
Now my question is how do I access files located in submodules through github actions?
I just needed to checkout all the submodules by just running:
- name: checkout all the submodules
uses: actions/checkout@v2
with:
submodules: recursive
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With