Skip to content

Commit

Permalink
Update Azure Pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
0x0ade committed Nov 10, 2018
1 parent 10c17d5 commit 8e4ac77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 2 additions & 0 deletions azure-pipelines-postbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ parameters:

steps:
- task: CopyFiles@2
condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest'))
displayName: 'Artifacts: Pack: ${{parameters.targetFramework}}'
continueOnError: true
inputs:
Expand All @@ -13,6 +14,7 @@ steps:
overWrite: true
flattenFolders: true
- task: PublishBuildArtifacts@1
condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest'))
displayName: 'Artifacts: Publish: ${{parameters.targetFramework}}'
continueOnError: true
inputs:
Expand Down
3 changes: 0 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,12 @@ steps:

# Create and "publish" main artifacts.
- template: 'azure-pipelines-postbuild.yml'
condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest'))
parameters:
targetFramework: 'net35'
- template: 'azure-pipelines-postbuild.yml'
condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest'))
parameters:
targetFramework: 'netstandard1.3'
- template: 'azure-pipelines-postbuild.yml'
condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest'))
parameters:
targetFramework: 'netstandard2.0'

Expand Down

0 comments on commit 8e4ac77

Please sign in to comment.