File tree Expand file tree Collapse file tree 3 files changed +38
-23
lines changed
Expand file tree Collapse file tree 3 files changed +38
-23
lines changed Original file line number Diff line number Diff line change @@ -165,6 +165,11 @@ jobs:
165165 type : releaseJob # This makes a job a release job
166166 isProduction : true # Indicates a production release
167167 steps :
168+ - template : setup.yml
169+ parameters :
170+ installNode : true
171+ installPython : false
172+
168173 - task : 1ES.DownloadPipelineArtifact@1
169174 inputs :
170175 artifactName : extension
Original file line number Diff line number Diff line change @@ -103,11 +103,11 @@ steps:
103103 if ('${{ parameters.preRelease }}' -eq 'True') {
104104 Write-Host 'Publishing as pre-release'
105105 Write-Host "Executing: npx vsce publish --pat *** --packagePath $vsixPath --manifestPath $manifestPath --signaturePath $signaturePath --pre-release"
106- npx vsce publish --pat $aadToken --packagePath $vsixPath --manifestPath $manifestPath --signaturePath $signaturePath --pre-release
106+ # npx vsce publish --pat $aadToken --packagePath $vsixPath --manifestPath $manifestPath --signaturePath $signaturePath --pre-release
107107 } else {
108108 Write-Host 'Publishing as stable release'
109109 Write-Host "Executing: npx vsce publish --pat *** --packagePath $vsixPath --manifestPath $manifestPath --signaturePath $signaturePath"
110- npx vsce publish --pat $aadToken --packagePath $vsixPath --manifestPath $manifestPath --signaturePath $signaturePath
110+ # npx vsce publish --pat $aadToken --packagePath $vsixPath --manifestPath $manifestPath --signaturePath $signaturePath
111111 }
112112
113113 if ($LASTEXITCODE -ne 0) {
Original file line number Diff line number Diff line change 1- # DevDiv pipeline setup steps (no parameters)
1+ # DevDiv pipeline setup steps
2+ parameters :
3+ - name : installNode
4+ type : boolean
5+ default : true
6+ - name : installPython
7+ type : boolean
8+ default : true
9+
210steps :
3- - task : npmAuthenticate@0
4- inputs :
5- workingFile : .npmrc
11+ - ${{ if eq(parameters.installNode, true) }} :
12+ - task : npmAuthenticate@0
13+ inputs :
14+ workingFile : .npmrc
615
7- - script : npm config get registry
8- displayName : Verify NPM Registry
16+ - script : npm config get registry
17+ displayName : Verify NPM Registry
918
10- - task : NodeTool@0
11- inputs :
12- versionSpec : ' 22.17.0'
13- checkLatest : true
14- displayName : Select Node 22 LTS
19+ - task : NodeTool@0
20+ inputs :
21+ versionSpec : ' 22.17.0'
22+ checkLatest : true
23+ displayName : Select Node 22 LTS
1524
16- - task : PipAuthenticate@1
17- displayName : ' Pip Authenticate'
18- inputs :
19- artifactFeeds : ' DevDiv/debugpy'
25+ - ${{ if eq(parameters.installPython, true) }} :
26+ - task : PipAuthenticate@1
27+ displayName : ' Pip Authenticate'
28+ inputs :
29+ artifactFeeds : ' DevDiv/debugpy'
2030
21- - task : UsePythonVersion@0
22- inputs :
23- versionSpec : ' 3.9' # note Install Python dependencies step below relies on Python 3.9
24- addToPath : true
25- architecture : ' x64'
26- displayName : Select Python version
31+ - task : UsePythonVersion@0
32+ inputs :
33+ versionSpec : ' 3.9' # note Install Python dependencies step below relies on Python 3.9
34+ addToPath : true
35+ architecture : ' x64'
36+ displayName : Select Python version
You can’t perform that action at this time.
0 commit comments