Skip to content

Commit 83b1624

Browse files
Update azure-pipelines.rsk-audit-ef.yml for Azure Pipelines
1 parent 446c6d0 commit 83b1624

1 file changed

Lines changed: 11 additions & 9 deletions

File tree

azure-pipelines.rsk-audit-ef.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -68,16 +68,18 @@ stages:
6868
PathtoPublish: '$(Build.ArtifactStagingDirectory)'
6969
ArtifactName: 'Rsk.Audit.EF nupkg'
7070
publishLocation: 'Container'
71-
71+
7272
- stage: Publish
7373
dependsOn: Build
7474
condition: succeeded()
7575
jobs:
76-
- job: PublishNuGet
77-
pool:
78-
vmImage: 'ubuntu-latest'
79-
steps:
80-
- template: templates/publish-nuget.yml
81-
parameters:
82-
artifact: 'Rsk.Audit.EF nupkg'
83-
packageToPublish: '$(Pipeline.Workspace)/Rsk.Audit.EF nupkg/*.nupkg'
76+
- deployment: PublishNuGet
77+
environment: Release
78+
strategy:
79+
runOnce:
80+
deploy:
81+
steps:
82+
- template: templates/publish-nuget.yml
83+
parameters:
84+
artifact: 'Rsk.Audit.EF nupkg'
85+
packageToPublish: '$(Pipeline.Workspace)/Rsk.Audit nupkg/*.nupkg'

0 commit comments

Comments
 (0)