Skip to content

Commit

Permalink
[binarycaching.md] Improve Azure DevOps example (#18807)
Browse files Browse the repository at this point in the history
Add a missing, but required task for Azure DevOps Pipelines, to automatically authenticate against the Artifacts registry.
This should help any vcpkg newcomer to integrate easily.
  • Loading branch information
julianxhokaxhiu authored Jul 6, 2021
1 parent fc6d2ed commit ae5b1cf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/users/binarycaching.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,10 @@ Next, you will need to create a feed for your project; see the [Azure DevOps Art
variables:
- name: VCPKG_BINARY_SOURCES
value: 'clear;nuget,<FEED_URL>,readwrite'
steps:
# Remember to add this task to allow vcpkg to upload archives via NuGet
- task: NuGetAuthenticate@0
```

If you are using custom agents with a non-Windows OS, you will need to install Mono to run `nuget.exe` (`apt install mono-complete`, `brew install mono`, etc).
Expand Down

0 comments on commit ae5b1cf

Please sign in to comment.