没有推送任何包 - Appveyor Nuget feed

时间:2016-08-19 10:35:49

标签: c# nuget yaml nuget-package appveyor

这是我的yml文件:

deploy:
  - provider: NuGet
    symbol_server: https://ci.appveyor.com/nuget/xxxxx/api/v2/package
    api_key:
    secure: xxxxxxxxxxxxxxxxxxxxxxxx
    artifact: DataParser.1.0.0.nupkg

nupkg文件位于解决方案的根目录中(.sln文件的同一目录)

但是我在Appveyor上收到警告:

  

没有推送套餐

1 个答案:

答案 0 :(得分:1)

Nuget部署提供程序假定工件是根据https://www.appveyor.com/docs/packaging-artifacts/打包的。

请确保您的appveyor.yml artifacts:部分已正确配置,并且构建作业日志表明工件已打包。

另外,我建议使用命名工件,并在Nuget部署设置中使用工件名称而不是文件名。

- 伊利亚安德。