It was related to my code. Thanks to @Azeem for his responses :)
The problem was that GitHub Action uses ":" as PATH_SEPARATOR and I was only handling "/".
PATH_SEPARATOR