Skip to content

Commit d85fe6f

Browse files
committed
Verify VSIX after moving to them and always publish
1 parent d15c1f2 commit d85fe6f

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

azure-pipelines/build-vsix.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,11 @@ stages:
114114
- output: pipelineArtifact
115115
path: $(Build.SourcesDirectory)/Packages
116116
artifact: Packages
117+
condition: always()
117118
- output: pipelineArtifact
118119
path: $(Build.SourcesDirectory)/out/logs
119120
artifact: SigningLogs
121+
condition: always()
120122
steps:
121123
- checkout: self
122124
clean: true
@@ -176,17 +178,17 @@ stages:
176178
SignType: $(signType)
177179
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
178180

179-
- ${{ if eq(parameters.isOfficial, true) }}:
180-
- script: gulp verifyVsix
181-
condition: and( succeeded(), eq('$(SignType)', 'Real'))
182-
displayName: 🔑 Verify VSIX Signature Files
183-
workingDirectory: '$(Build.SourcesDirectory)/vsix'
184-
185181
- task: CopyFiles@2
186182
inputs:
187183
SourceFolder: '$(Build.SourcesDirectory)/vsix'
188184
TargetFolder: '$(Build.SourcesDirectory)/Packages/VSIX_$(channel)'
189185

186+
- ${{ if eq(parameters.isOfficial, true) }}:
187+
- script: gulp verifyVsix
188+
condition: and( succeeded(), eq('$(SignType)', 'Real'))
189+
displayName: 🔑 Verify VSIX Signature Files
190+
workingDirectory: '$(Build.SourcesDirectory)/Packages/VSIX_$(channel)'
191+
190192
- ${{ if ne(parameters.isOfficial, true) }}:
191193
- task: PublishPipelineArtifact@1
192194
condition: succeeded()

0 commit comments

Comments
 (0)