I have a pipeline that publishes a .net core project and makes it an artefact which then the next step zips it and sends the zip to the server.
It works with .net5 but now .net7 is slightly different, it has to use -property:PublishDir=/published/ instead of -o (output) which I'm guessing is the cause of the issue.

If I check the folder with dir, it is correct, it has the files in:

Yet the artefacts tab says "No artifacts uploaded".
So on my next step it shows no files:
