@@ -5,7 +5,8 @@ permissions:
55 contents : read
66
77env :
8- VCPKG_BINARY_SOURCES : " clear;nuget,https://nuget.pkg.github.com/hpcc-systems/index.json,readwrite"
8+ VCPKG_BINARY_SOURCES : " clear;nuget,GitHub,readwrite"
9+ VCPKG_NUGET_REPOSITORY : https://github.com/hpcc-systems/hpcc-js-wasm
910
1011on :
1112 pull_request :
@@ -78,30 +79,30 @@ jobs:
7879 - name : Setup vcpkg NuGet authentication
7980 if : ${{ contains(matrix.os, 'ubuntu') }}
8081 run : |
81- mono $( ./vcpkg/vcpkg fetch nuget | tail -n 1) \
82+ mono ` ./vcpkg/vcpkg fetch nuget | tail -n 1` \
8283 sources add \
83- -Source "https://nuget.pkg.github.com/hpcc-systems /index.json" \
84- -StorePasswordInClearText \
85- -Name GitHubPackages \
86- -UserName "hpcc-systems " \
87- -Password "${{ secrets.GITHUB_TOKEN }}"
88- mono $( ./vcpkg/vcpkg fetch nuget | tail -n 1) \
84+ -source "https://nuget.pkg.github.com/${{ github.repository_owner }} /index.json" \
85+ -storepasswordincleartext \
86+ -name "GitHub" \
87+ -username "${{ github.repository_owner }} " \
88+ -password "${{ secrets.GITHUB_TOKEN }}"
89+ mono ` ./vcpkg/vcpkg fetch nuget | tail -n 1` \
8990 setapikey "${{ secrets.GITHUB_TOKEN }}" \
90- -Source "https://nuget.pkg.github.com/hpcc-systems /index.json"
91+ -source "https://nuget.pkg.github.com/${{ github.repository_owner }} /index.json"
9192
9293 - name : Setup vcpkg NuGet authentication (macOS)
9394 if : ${{ contains(matrix.os, 'macos') }}
9495 run : |
95- $( ./vcpkg/vcpkg fetch nuget | tail -n 1) \
96+ ` ./vcpkg/vcpkg fetch nuget | tail -n 1` \
9697 sources add \
97- -Source "https://nuget.pkg.github.com/hpcc-systems /index.json" \
98- -StorePasswordInClearText \
99- -Name GitHubPackages \
100- -UserName "hpcc-systems " \
101- -Password "${{ secrets.GITHUB_TOKEN }}"
102- $( ./vcpkg/vcpkg fetch nuget | tail -n 1) \
98+ -source "https://nuget.pkg.github.com/${{ github.repository_owner }} /index.json" \
99+ -storepasswordincleartext \
100+ -name "GitHub" \
101+ -username "${{ github.repository_owner }} " \
102+ -password "${{ secrets.GITHUB_TOKEN }}"
103+ ` ./vcpkg/vcpkg fetch nuget | tail -n 1` \
103104 setapikey "${{ secrets.GITHUB_TOKEN }}" \
104- -Source "https://nuget.pkg.github.com/hpcc-systems /index.json"
105+ -source "https://nuget.pkg.github.com/${{ github.repository_owner }} /index.json"
105106
106107 - name : Lint
107108 run : |
0 commit comments