Skip to content

Commit ba7ac77

Browse files
committed
generalize
1 parent e1603df commit ba7ac77

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/actions/setup-vcpkg/action.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ runs:
3232
3333
iex (iwr -useb https://aka.ms/vcpkg-init.ps1)
3434
35-
# TODO : use PKG_SOURCE_USER for Source and GITHUB_ACTOR for UserName
36-
.$(vcpkg fetch nuget) sources add -Name ghpkg -Source https://nuget.pkg.github.com/open-vcpkg/index.json -UserName open-vcpkg -Password ${{ inputs.github_token }} -StorePasswordInClearText
37-
echo "VCPKG_BINARY_SOURCES=clear;nuget,https://nuget.pkg.github.com/open-vcpkg/index.json,readwrite" >> $env:GITHUB_ENV
35+
.$(vcpkg fetch nuget) sources add -Name ghpkg -Source https://nuget.pkg.github.com/$PKG_SOURCE_USER/index.json -UserName $PKG_SOURCE_USER -Password ${{ inputs.github_token }} -StorePasswordInClearText
36+
echo "VCPKG_BINARY_SOURCES=clear;nuget,https://nuget.pkg.github.com/$PKG_SOURCE_USER/index.json,readwrite" >> $env:GITHUB_ENV
3837

0 commit comments

Comments
 (0)