我想在 nuget.org 的项目页面上发布包 请告诉我,我的配置有什么问题,虽然配置中有 publish_nuget,但没有调用 nuget pack:是吗?或者你有 .net core 的脚本示例吗?项目结构://************************************************ ****************************DaDataApiClient__ DadataApiClient_ DadataApiClient.nuspec DadataApiClient.csproj __ //... sources DadataApiClient.Test_ DadataApiClient.Test.csproj //...sources appveyor.yml DadataApiClient.sln ... //*********************************************************************************现在正在构建,正在运行测试,然后系统尝试发送数据包而不是将 dll 打包到包中(nuget 包)。该项目是在.net core 2.0下构建的Сonfig 文件附加 (appveyor.yml)ci 的构建日志文件(https://ci.appveyor.com/project/Xambey/dadataapiclient)懒人的文字:version: 1.0.{build} branches: only: - master skip_branch_with_pr: true image: Visual Studio 2017 configuration: Release shallow_clone: true dotnet_csproj: patch: true file: '**\*.csproj' version: '{version}' package_version: '{version}' assembly_version: '{version}' file_version: '{version}' informational_version: '{version}' environment: matrix: - TOKEN: secure: EFVcZzUo9GxQ+slLBFQc2zhFzlfA9gULAy0cXu5m6mQbyzRYLxnAw3F+Z0Qx0Jef SECRET: secure: Wz456M9HIV13gTGBd4Eh1F+EsMcmwKgqJhG44BFaXTdC0TyX3k02vAoqOSMo9Xd7 nuget: project_feed: true before_build: - ps: nuget restore build: publish_nuget: true verbosity: minimal artifacts: - path: '*\*.nupkg' deploy: - provider: NuGet api_key: secure: MgLMMGChxGhyyhSrWuntCcR83vpMU7geCo8YfmNVFbW8FLtf/GZqQLd3ZdNoMMzY skip_symbols: true artifact: '*\*.nupkg' on: branch: master notifications: - provider: GitHubPullRequest on_build_success: true on_build_failure: false on_build_status_changed: false
1 回答
- 1 回答
- 0 关注
- 167 浏览
添加回答
举报
0/150
提交
取消