Skip to content

Commit 225323b

Browse files
committed
Use 1ES relaeseJob in release.yml
1 parent 083028c commit 225323b

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

azure-pipelines/release.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,20 +39,17 @@ extends:
3939
name: netcore1espool-internal
4040
image: 1es-ubuntu-2204
4141
os: linux
42+
templateContext:
43+
type: releaseJob
44+
isProduction: true
45+
inputs:
46+
- input: pipelineArtifact
47+
pipeline: officialBuildCI
48+
destinationPath: $(Pipeline.Workspace)
4249
strategy:
4350
runOnce:
4451
deploy:
4552
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)'
5653
- template: /azure-pipelines/install-node.yml@self
5754
- pwsh: |
5855
npm install --global @vscode/vsce

0 commit comments

Comments
 (0)