Skip to content

Commit

Permalink
Fixed bug "dotnet nuget push -n" (#730)
Browse files Browse the repository at this point in the history
* Use .NET 6.0

* 2

* remove depends on

* -n

* Fixed bug "dotnet nuget push -n"
  • Loading branch information
StefH authored Feb 25, 2022
1 parent 8a5f183 commit 02d28a3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
15 changes: 13 additions & 2 deletions azure-pipelines-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,17 @@ jobs:
PathtoPublish: '/home/vsts/work/1/s/test/WireMock.Net.Tests/coverage.net6.0.opencover.xml'

- job: Windows_Build_Test
dependsOn: Linux_Build_Test_SonarCloud

pool:
vmImage: 'windows-2022'

steps:
- task: UseDotNet@2
displayName: Use .NET 6.0
inputs:
packageType: 'sdk'
version: '6.0.x'

- task: DotNetCoreCLI@2
displayName: 'Build Unit tests'
inputs:
Expand All @@ -106,6 +111,12 @@ jobs:
vmImage: 'windows-2022'

steps:
- task: UseDotNet@2
displayName: Use .NET 6.0
inputs:
packageType: 'sdk'
version: '6.0.x'

- task: DotNetCoreCLI@2
displayName: Build Release
inputs:
Expand Down Expand Up @@ -136,4 +147,4 @@ jobs:
inputs:
command: custom
custom: nuget
arguments: push $(Build.ArtifactStagingDirectory)\packages\*.nupkg -n true -s https://www.myget.org/F/wiremock-net/api/v3/index.json -k $(MyGetKey)
arguments: push $(Build.ArtifactStagingDirectory)\packages\*.nupkg -n -s https://www.myget.org/F/wiremock-net/api/v3/index.json -k $(MyGetKey)
2 changes: 1 addition & 1 deletion azure-pipelines-nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ steps:
inputs:
command: custom
custom: nuget
arguments: push $(Build.ArtifactStagingDirectory)\packages\*.nupkg -n true -s https://api.nuget.org/v3/index.json -k $(NuGetKey) --skip-duplicate
arguments: push $(Build.ArtifactStagingDirectory)\packages\*.nupkg -n -s https://api.nuget.org/v3/index.json -k $(NuGetKey) --skip-duplicate

0 comments on commit 02d28a3

Please sign in to comment.