This is similar to issue 741. That was closed because the op couldn't reproduce it later, but it's a current issue for me.
When dotnet publish runs on my computer, the publish output contains a folder named .azurefunctions, but when the same commands are run on an ubuntu GitHub runner, that folder is missing. I haven't noticed any other differences. In both cases there is a file named extensions.json which contains references to the .azurefunctions folder, so it seems like the folder is expected to be there.
Deploying the app from my computer's build (which has that folder) runs fine in Azure. Deploying the one built on the GitHub runner (which does not) gets "No job functions found. Try making your job classes and methods public" errors, and the app doesn't work.
The project is an isolated process function app for .NET 7. In both cases I'm using the .NET SDK version 7.0.100.
I'm happy to provide any logs or other diagnostics.