tag:help.appveyor.com,2012-11-13:/discussions/problems/29894-deploying-during-build-using-environment-provider-does-nothingAppVeyor: Discussion 2021-07-27T05:16:05Ztag:help.appveyor.com,2012-11-13:Comment/493063322021-07-24T05:24:28Z2021-07-24T05:26:12ZDeploying during build using environment provider does nothing<div><p>from build log:<br>
Uploading artifacts... [1/1] MultiTargetWpfLibraryAppVeyorLab\bin\Release\MultiTargetWpfLibraryAppVeyorLab.0.0.12.nupkg (3,574 bytes)...100% rem === Before deployment === Deploying using Environment provider Started deployment to NuGet.org environment rem === After deployment === Build success and nothing happens!<br>
if I start deployment manually, it starts publishing.<br>
Downloading artifact MultiTargetWpfLibraryAppVeyorLab/bin/Release/MultiTargetWpfLibraryAppVeyorLab.0.0.12.nupkg to temporary location...OK Publishing MultiTargetWpfLibraryAppVeyorLab.0.0.12.nupkg to <a href="https://www.nuget.org/api/v2/package">https://www.nuget.org/api/v2/package</a>...</p>
<p><a href="https://ci.appveyor.com/project/KsWare/ksware-multitargetwpflibraryappveyorlab">https://ci.appveyor.com/project/KsWare/ksware-multitargetwpflibrary...</a><br>
Thanks for any advice</p></div>Kaytag:help.appveyor.com,2012-11-13:Comment/493063322021-07-24T08:24:19Z2021-07-24T08:24:19ZDeploying during build using environment provider does nothing<div><p>OK, it seems there is no error shown if deployment failed.<br>
I would expect more output on failed and also on success. after "Started deployment to NuGet.org environment" line. Maybe also stop build on error.</p></div>Kaytag:help.appveyor.com,2012-11-13:Comment/493063322021-07-25T23:45:50Z2021-07-25T23:45:50ZDeploying during build using environment provider does nothing<div><p>It's by design - deployment to Environment happens asynchronously.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/493063322021-07-27T05:16:04Z2021-07-27T05:16:04ZDeploying during build using environment provider does nothing<div><p>So if I need to know if the publishing was successful, I can't use the environment<br>
Unfortunately, this is not very satisfying and should at least be documented (if it isn't already and I just read over it) I had to spend a lot of unnecessary time to get a successful build process, and I ended up needing your valuable support time.<br>
Thanks vor helping me.</p></div>Kay