File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 7373 Where-Object { !$_.Name.Contains('preview') } |
7474 ForEach-Object { dotnet nuget push $_ --source https://api.nuget.org/v3/index.json --skip-duplicate --api-key ${{secrets.NUGET_API_KEY}} }
7575 shell : pwsh
76+
77+ - name : Setup NuGet.exe for use with actions
78+ 79+
80+ - name : Add private GitHub registry to NuGet
81+ run : nuget sources add -name "GPR" -Source https://nuget.pkg.github.com/Analogy-LogViewer/index.json -Username Analogy-LogViewer -Password ${{ secrets.GITHUB_TOKEN }}
82+
83+ - name : ' Dotnet NuGet Push to github registry'
84+ run : |
85+ Get-ChildItem .\artifactory -Filter *.nupkg |
86+ Where-Object { !$_.Name.Contains('preview') } |
87+ ForEach-Object { nuget push $_ -Source "GPR" -SkipDuplicate }
You can’t perform that action at this time.
0 commit comments