This repository has been archived by the owner on Jul 18, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I should pay attention to my pipeline
- Loading branch information
1 parent
f6b1095
commit 1ab96b5
Showing
1 changed file
with
13 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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')) |