File tree Expand file tree Collapse file tree 2 files changed +19
-15
lines changed Expand file tree Collapse file tree 2 files changed +19
-15
lines changed Original file line number Diff line number Diff line change @@ -67,26 +67,32 @@ jobs:
67
67
env :
68
68
SignType : $(signType)
69
69
70
+ - task : CopyFiles@2
71
+ inputs :
72
+ SourceFolder : ' $(Build.SourcesDirectory)/vsix'
73
+ TargetFolder : ' $(Build.SourcesDirectory)/Packages/VSIX_$(channel)'
74
+
70
75
- ${{ if eq(parameters.isOfficial, true) }} :
71
76
- task : 1ES.PublishBuildArtifacts@1
72
77
condition : succeeded()
73
78
displayName : ' Publish VSIXs'
74
79
inputs :
75
- PathtoPublish : ' $(Build.SourcesDirectory)/vsix '
76
- ArtifactName : ' VSIX_$(channel) '
80
+ PathtoPublish : ' $(Build.SourcesDirectory)/Packages '
81
+ ArtifactName : ' Packages '
77
82
- task : 1ES.PublishBuildArtifacts@1
78
83
condition : succeededOrFailed()
79
84
displayName : ' Publish Signing Logs'
80
85
inputs :
81
86
PathtoPublish : ' $(Build.SourcesDirectory)/out/logs'
82
87
ArtifactName : ' ${{ parameters.platform }} Signing Logs'
88
+
83
89
- ${{ else }} :
84
90
- task : PublishBuildArtifacts@1
85
91
condition : succeeded()
86
92
displayName : ' Publish VSIXs'
87
93
inputs :
88
- PathtoPublish : ' $(Build.SourcesDirectory)/vsix '
89
- ArtifactName : ' VSIX_$(channel) '
94
+ PathtoPublish : ' $(Build.SourcesDirectory)/Packages '
95
+ ArtifactName : ' Packages '
90
96
91
97
- script : npm run test:artifacts
92
- displayName : ' Run artifacts tests'
98
+ displayName : ' Run artifacts tests'
Original file line number Diff line number Diff line change @@ -39,20 +39,18 @@ extends:
39
39
name : netcore1espool-internal
40
40
image : 1es-ubuntu-2204
41
41
os : linux
42
+ templateContext :
43
+ type : releaseJob
44
+ isProduction : true
45
+ inputs :
46
+ - input : pipelineArtifact
47
+ pipeline : officialBuildCI
48
+ artifactName : Packages
49
+ destinationPath : $(Pipeline.Workspace)
42
50
strategy :
43
51
runOnce :
44
52
deploy :
45
53
steps :
46
- - download : ' none'
47
- - task : DownloadPipelineArtifact@2
48
- displayName : ' 📦 Download artifacts from build pipeline.'
49
- inputs :
50
- buildType : ' specific'
51
- project : ' internal'
52
- definition : 1264
53
- buildVersionToDownload : ' specific'
54
- buildId : ' $(resources.pipeline.officialBuildCI.runID)'
55
- branchName : ' $(resources.pipeline.officialBuildCI.sourceBranch)'
56
54
- template : /azure-pipelines/install-node.yml@self
57
55
- pwsh : |
58
56
npm install --global @vscode/vsce
You can’t perform that action at this time.
0 commit comments