My project has 5 build steps:
1. Get VCS
2. Run a PowerShell script to compile SASS files
3. Compile with MSBuild
4. Deploy to Octopus
When the 2nd build step is called I can see in the agent directory that the SASS files have been compiles to a Default.css file, like I want to. But then when the deployment is complete and I check the build artifact the file is not there, thus not published to Octopus deploy.
How can I manually add files to artifacts through a PowerShell script?