Skip to content

Commit

Permalink
Add nuget package artifact to cd pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
RaidMax committed Jan 21, 2024
1 parent 220e46f commit c5e3899
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions DeploymentFiles/deployment-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,13 @@ jobs:
artifact: 'IW4MAdmin.$(buildConfiguration)'
publishLocation: 'pipeline'

- task: PublishPipelineArtifact@1
displayName: 'Publish nuget package artifact'
inputs:
targetPath: '$(Build.Repository.LocalPath)/SharedLibaryCore/bin/$(buildConfiguration)/RaidMax.IW4MAdmin.SharedLibraryCore.$(Build.BuildNumber).nupkg'
artifact: 'SharedLibraryCore.$(Build.BuildNumber).nupkg'
publishLocation: 'pipeline'

- task: FtpUpload@2
condition: ne(variables['Build.SourceBranch'], 'refs/heads/develop')
displayName: 'Upload zip file to website'
Expand Down

0 comments on commit c5e3899

Please sign in to comment.