diff options
| author | Julian Xhokaxhiu <julianxhokaxhiu@users.noreply.github.com> | 2021-07-06 22:37:15 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-06 13:37:15 -0700 |
| commit | ae5b1cf41bfa74b88be6438076afe2fdc10608cb (patch) | |
| tree | 77bca08c23f2529a7a588834f42ab92d6ca3b354 | |
| parent | fc6d2ed5b92b5cbdc3fc17f538b6562811ac0bbc (diff) | |
| download | vcpkg-ae5b1cf41bfa74b88be6438076afe2fdc10608cb.tar.gz vcpkg-ae5b1cf41bfa74b88be6438076afe2fdc10608cb.zip | |
[binarycaching.md] Improve Azure DevOps example (#18807)
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.
| -rw-r--r-- | docs/users/binarycaching.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/users/binarycaching.md b/docs/users/binarycaching.md index f646ad789..0e2ea19cb 100644 --- a/docs/users/binarycaching.md +++ b/docs/users/binarycaching.md @@ -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). |
