私はAppveyorにC#ソリューションビルディングがあり、最終的なアーティファクトはナゲットパッケージです。Appveyorフィードにナゲットパッケージを公開する
カスタムのAppveyorパッケージフィードでそのようなパッケージを公開したいと思います。
私はこのようなappveyor.yml
ファイル変更してみました:
version: 1.0.{build}
branches:
only:
- develop
image: Visual Studio 2015
build:
verbosity: minimal
deploy:
- provider: NuGet
symbol_server: https://ci.appveyor.com/nuget/dataparsers-xxxxxxxxxx/api/v2/package
api_key:
secure: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
artifact: /.*\.symbols\.nupkg/
を、それは動作しません。 ymlファイルは正しく解析されません(行8のエラー:基本的に「デプロイ」)
さらに、パッケージ名を指定しますか?
https://www.appveyor.com/docs/nuget/#configuring-appveyor-nuget-feeds-for-your-builds
EDIT
実際のエラー:
Error parsing appveyor.yml: (Line: 8, Col: 2, Idx: 106) - (Line: 8, Col: 2, Idx: 106): While parsing a block mapping, did not find expected key.
これは正しいYAMLです。元の文字にタブ文字を使用していますか? – Anthon
はい私は1つのタブを持っていました。今それはいいです。しかし、私は "パッケージは押されていません"を得る。私が "アーティファクト"で使用する文字列をアップロードするために1つのシングルナゲットパッケージを持っている場合 –
あなたの他の投稿を見ました、申し訳ありませんが、その答えは分かりません。 – Anthon