vscode-azureserverlesspack/.azure-pipelines/job-steps.yml

30 строки
793 B
YAML
Исходник Постоянная ссылка Обычный вид История

2022-10-31 18:37:43 +03:00
steps:
- template: before-all.yml
- task: Npm@1
displayName: 'Install'
inputs:
command: ci
- task: Npm@1
displayName: 'Package VSIX'
inputs:
command: custom
2022-10-31 19:01:43 +03:00
customCommand: run ci-package
2022-10-31 18:37:43 +03:00
- task: CopyFiles@2
displayName: 'Copy Artifacts'
inputs:
Contents: '**/*.vsix'
TargetFolder: '$(build.artifactstagingdirectory)'
condition: and(eq(variables['Agent.OS'], 'Linux'), ne(variables['System.PullRequest.IsFork'], 'True'))
- task: PublishBuildArtifacts@1
displayName: 'Publish Artifacts'
inputs:
PathtoPublish: '$(build.artifactstagingdirectory)'
ArtifactName: 'vsix'
condition: and(eq(variables['Agent.OS'], 'Linux'), ne(variables['System.PullRequest.IsFork'], 'True'))
- template: after-all.yml