Skip to content

Commit

Permalink
Updated NuGetAuthenticate task to v1.
Browse files Browse the repository at this point in the history
  • Loading branch information
azchohfi committed May 13, 2024
1 parent 09d4c2b commit 481cd65
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pipelines/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ extends:
version: 8.0.x
- script: mv -f $(Build.SourcesDirectory)/.pipelines/release-nuget.config ./nuget.config
displayName: Add release package source
- task: NuGetAuthenticate@0
- task: NuGetAuthenticate@1
- script: dotnet restore MSStore.CLI.sln /p:Configuration=${{ dotnet_config }}
displayName: Restore dependencies
- template: ./.pipelines/templates/build-nuget.yaml@self
Expand Down
4 changes: 2 additions & 2 deletions .pipelines/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ extends:
version: 6.0.x
- script: mv -f $(Build.SourcesDirectory)/.pipelines/release-nuget.config ./nuget.config
displayName: Add release package source
- task: NuGetAuthenticate@0
- task: NuGetAuthenticate@1
- script: dotnet restore MSStore.CLI.sln /p:Configuration=${{ dotnet_config }}
displayName: Restore dependencies
- template: ./.pipelines/templates/build-nuget.yaml@self
Expand Down Expand Up @@ -138,7 +138,7 @@ extends:
jsonTargetFiles: MSStore.CLI/config.json
xmlTargetFiles: ''
xmlTransformationRules: ''
- task: NuGetAuthenticate@0
- task: NuGetAuthenticate@1
- script: dotnet restore MSStore.CLI -r ${{ pool.dotnet_runtime }}-${{ platform }} /p:Configuration=${{ dotnet_config }} /p:PublishReadyToRun=true
displayName: Restore CLI
- template: ./.pipelines/templates/build-cli.yaml@self
Expand Down

0 comments on commit 481cd65

Please sign in to comment.