Skip to content

Commit

Permalink
Update azure-pipelines.yml for Azure Pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
mozts2005 committed Jan 19, 2021
1 parent ec3f450 commit 88972ec
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ci/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,12 @@ jobs:
targetType: inline
script: |
Write-Host -ForegroundColor Cyan "starting github push"
cd $(Pipeline.Workspace)/Nuget_Package
$api = "$Env:apikey"
$url = "$Env:github_feed_url"
Write-Host -ForegroundColor Cyan "Feed url $url"
Write-Host -ForegroundColor Cyan "api key length is " $api.Length
dotnet nuget push "*.nupkg" --no-symbols --api-key "$api" --source "$url"
dotnet nuget push "$(Pipeline.Workspace)/**/*.nupkg" --no-symbols true --skip-duplicate -k "$api" -s "$url"
showWarnings: true
pwsh: true

Expand Down

0 comments on commit 88972ec

Please sign in to comment.