Unfortunately, no.
I use GitHub Actions and every now and then it still happens. Usually, I just manually deploy from my local machine and then the CI works again.
I know this is an old post but I experienced this too in my GitHub Actions,
Here's the error I encountered after the deployment
Target class [App\Services\AuthServices.php]
but when I checked the app/Services folder it is named just fine, the problem is in our repository it was named like this app/services.
so I just renamed the folder in my local using the git mv command to properly rename the folder then pushed it to our repository