Replies: 1 comment
-
I know I'm far too late for OP, but for future users that come across this issue: Set the undocumented
This won't control repository association of the vcpkg nuget packages, but it will allow you to essentially create a separate nuget feed for each repository so that they no longer interfere with each other. See discussions and PRs introducing the feature here: #16579 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use vcpkg with NuGet binary caching via GitHub Packages in my GitHub actions workflow.
It works fine with single repository but fails with multiple repos due to repository association of uploaded NuGet packages.
I.e. repository Foo runs Actions workflow in which vcpkg builds some packages and automatically uploads them to GitHub Packages using NuGet. Now these packages are associated with repository Foo.
Now if repository Bar has the same vcpkg dependencies with same versions, then when its workflow is run vcpkg can successfully download them from GitHub Packages.
If I then update versions of these dependencies in repository Bar, then vcpkg will rebuild them and fail to upload new versions to GitHub Packages because they are already associated with repository Foo.
How can I circumvent this issue?
Beta Was this translation helpful? Give feedback.
All reactions