Skip to content

Commit

Permalink
Use pipeline artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmetseckin committed Nov 16, 2019
1 parent def88e1 commit 80515eb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 15 deletions.
7 changes: 2 additions & 5 deletions pipelines/linux-x64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ variables:
steps:
- script: dotnet publish $(projectDirectory) -c $(buildConfiguration) -r $(runtimeIdentifier) -o $(outputDirectory) /p:Version=$(Build.BuildNumber) --self-contained true
displayName: 'Publish self-contained executable for $(runtimeIdentifier)'
- task: PublishBuildArtifacts@1
- publish: '$(outputDirectory)'
displayName: 'Publish artefact for $(runtimeIdentifier)'
inputs:
PathtoPublish: '$(outputDirectory)'
ArtifactName: '$(artifactName)'
publishLocation: 'Container'
artifact: '$(artifactName)'
7 changes: 2 additions & 5 deletions pipelines/osx-x64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ variables:
steps:
- script: dotnet publish $(projectDirectory) -c $(buildConfiguration) -r $(runtimeIdentifier) -o $(outputDirectory) /p:Version=$(Build.BuildNumber) --self-contained true
displayName: 'Publish self-contained executable for $(runtimeIdentifier)'
- task: PublishBuildArtifacts@1
- publish: '$(outputDirectory)'
displayName: 'Publish artefact for $(runtimeIdentifier)'
inputs:
PathtoPublish: '$(outputDirectory)'
ArtifactName: '$(artifactName)'
publishLocation: 'Container'
artifact: '$(artifactName)'
7 changes: 2 additions & 5 deletions pipelines/win10-x64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ variables:
steps:
- script: dotnet publish $(projectDirectory) -c $(buildConfiguration) -r $(runtimeIdentifier) -o $(outputDirectory) /p:Version=$(Build.BuildNumber) --self-contained true
displayName: 'Publish as self-contained executable for $(runtimeIdentifier)'
- task: PublishBuildArtifacts@1
- publish: '$(outputDirectory)'
displayName: 'Publish artefact for $(runtimeIdentifier)'
inputs:
PathtoPublish: '$(outputDirectory)'
ArtifactName: '$(artifactName)'
publishLocation: 'Container'
artifact: '$(artifactName)'

0 comments on commit 80515eb

Please sign in to comment.