Skip to content

Commit

Permalink
Configure nuget
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Feb 12, 2024
1 parent 17a4e89 commit d0a7b46
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/actions/setup-vcpkg/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,9 @@ runs:
if: runner.os == 'Windows'
shell: powershell
run: |
$PKG_SOURCE_USER = $env:GITHUB_REPOSITORY -split '/' | Select-Object -First 1
iex (iwr -useb https://aka.ms/vcpkg-init.ps1)
vcpkg fetch nuget
C:\ProgramData\Chocolatey\bin\nuget.exe sources add -Name ghpkg -Source https://nuget.pkg.github.com/$PKG_SOURCE_USER/index.json -UserName $GITHUB_ACTOR -Password ${{ secrets.GITHUB_TOKEN }} -StorePasswordInClearText

0 comments on commit d0a7b46

Please sign in to comment.