mirror of
https://github.com/microsoft/vcpkg
synced 2024-11-20 16:06:00 -07:00
[docs] binarycaching.md: NuGet requires to set API Key for source (#22191)
This commit is contained in:
parent
498c6e90a1
commit
4147b343c2
1 changed files with 11 additions and 8 deletions
|
@ -96,14 +96,17 @@ steps:
|
|||
- name: 'Setup NuGet Credentials'
|
||||
shell: 'bash'
|
||||
# Replace <OWNER> with your organization name
|
||||
run: >
|
||||
${{ matrix.mono }} `./vcpkg/vcpkg fetch nuget | tail -n 1`
|
||||
sources add
|
||||
-source "https://nuget.pkg.github.com/<OWNER>/index.json"
|
||||
-storepasswordincleartext
|
||||
-name "GitHub"
|
||||
-username "<OWNER>"
|
||||
-password "${{ secrets.GITHUB_TOKEN }}"
|
||||
run: |
|
||||
${{ matrix.mono }} `./vcpkg/vcpkg fetch nuget | tail -n 1` \
|
||||
sources add \
|
||||
-source "https://nuget.pkg.github.com/<OWNER>/index.json" \
|
||||
-storepasswordincleartext \
|
||||
-name "GitHub" \
|
||||
-username "<OWNER>" \
|
||||
-password "${{ secrets.GITHUB_TOKEN }}"
|
||||
${{ matrix.mono }} `./vcpkg/vcpkg fetch nuget | tail -n 1` \
|
||||
setapikey "${{ secrets.GITHUB_TOKEN }}" \
|
||||
-source "https://nuget.pkg.github.com/<OWNER>/index.json"
|
||||
|
||||
# Omit this step if you're using manifests
|
||||
- name: 'vcpkg package restore'
|
||||
|
|
Loading…
Reference in a new issue