docs icon indicating copy to clipboard operation
docs copied to clipboard

[Document] Upload not work, docs/blob/develop2/ci_tutorial/packages_pipeline/multi_configuration.rst

Open hudongcheng opened this issue 11 months ago • 1 comments

https://github.com/conan-io/docs/blob/develop2/ci_tutorial/packages_pipeline/multi_configuration.rst

$ cd ai  # If you were not inside "ai" folder already
$ conan create . --build="missing:ai/*" -s build_type=Release --format=json > graph.json
$ conan list --graph=graph.json --graph-binaries=build --format=json > built.json

$ conan remote enable packages
$ conan upload -l=built.json -r=packages -c --format=json > uploaded_release.json
$ conan remote disable packages

Upload not work, Prompt: WARN: No packages were uploaded because the package list is empty.

It's OK if change conan list --graph=graph.json --graph-binaries=build --format=json > built.json to conan list --graph=graph.json --format=json > built.json

hudongcheng avatar Mar 31 '25 09:03 hudongcheng

Hi @hudongcheng

Thanks for your question.

If you share the output of the conan create, you will most likely see that you already had a ai package already built from a previous run or something.

Upload not work, Prompt: WARN: No packages were uploaded because the package list is empty.

then, this is expected, because the package list is empty because no ai/1.1 new package was built from source in this run.

Make sure to clean your cache from previous ai/1.1 runs, with conan remove ai/1.1 -c before running those commands.

memsharded avatar Mar 31 '25 09:03 memsharded