Skip to content
This repository has been archived by the owner on Jul 18, 2022. It is now read-only.

Commit

Permalink
I should pay attention to my pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronpowell committed Jul 1, 2019
1 parent f6b1095 commit 1ab96b5
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions .azure-pipelines/package.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
steps:
- script: |
npx vsce package -o release.vsix
npx vsce package -o $(Build.ArtifactStagingDirectory)/release.vsix
displayName: 'create vsix'
- task: PublishPipelineArtifact@0
displayName: 'Publish Pipeline Artifact'
- task: CopyFiles@2
inputs:
targetPath: release.vsix
condition: and(succeeded(), eq(variables['node_version'], '12.x'), eq(variables['Agent.OS'], 'Linux'))
sourceFolder: '$(Build.SourcesDirectory)'
contents: 'package.json'
targetFolder: $(Build.ArtifactStagingDirectory)
displayName: 'Copy package.json'

- task: PublishPipelineArtifact@0
- task: CopyFiles@2
inputs:
contents: 'package.json'
displayName: 'Copy package.json'
condition: and(succeeded(), eq(variables['node_version'], '12.x'), eq(variables['Agent.OS'], 'Linux'))
sourceFolder: '$(Build.SourcesDirectory)'
contents: '*.md'
targetFolder: $(Build.ArtifactStagingDirectory)
displayName: 'Copy *.md'

- task: PublishPipelineArtifact@0
displayName: 'Publish Pipeline Artifact'
inputs:
contents: '*.md'
displayName: 'Copy *.md'
targetPath: '*.*'
condition: and(succeeded(), eq(variables['node_version'], '12.x'), eq(variables['Agent.OS'], 'Linux'))

0 comments on commit 1ab96b5

Please # to comment.