I have a build failing because it doesn't find some particular file in some particular path. Possibly this file is just in a different SDK directory (because of having a new version), so I just want to search for it in the whole C:
drive.
However, if I issue the following step in my GithubActions workflow:
- name: dir
run: |
c: && cd \ && dir /s TheFileNameThatILookFor.SomeExtension
Then the workflow hangs! It keeps executing forever and never finishes. (Proof.)
How to find specific files then?
UPDATE: after 5hours the CI process was aborted (probably by some timeout set by GithubActions infrastructure), and then I could see the output of dir /s
, if you can wait, just do that. If not, you could try what @Samira suggests in her/his answer, but IME it doesn't always work (e.g. if I try to search for a file with a long file name, it doesn't find it: the log that proves this, but in other cases it has worked) and it's still kinda long, 40min! but not as long as 5hours...