Skip to content

Commit 3422ad4

Browse files
update node to 20.x
1 parent 105f9e6 commit 3422ad4

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

.azure-pipelines/nightly.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ extends:
4848
steps:
4949
- checkout: self
5050
fetchTags: false
51+
- task: NodeTool@0
52+
displayName: Use Node 20.x
53+
inputs:
54+
versionSpec: 20.x
5155
- task: DownloadBuildArtifacts@1
5256
displayName: Download Build Artifacts
5357
inputs:

.azure-pipelines/rc.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ extends:
4343
steps:
4444
- checkout: self
4545
fetchTags: true
46+
- task: NodeTool@0
47+
displayName: Use Node 20.x
48+
inputs:
49+
versionSpec: 20.x
4650
- task: DownloadBuildArtifacts@1
4751
displayName: Download Build Artifacts
4852
inputs:
@@ -53,13 +57,11 @@ extends:
5357
downloadType: specific
5458
itemPattern: m2/com.microsoft.java.debug.plugin/com.microsoft.java.debug.plugin-*.jar
5559
extractTars: false
56-
- task: CmdLine@2
57-
displayName: cp plugin.jar to server
60+
- task: CopyFiles@2
61+
displayName: "cp plugin.jar to server"
5862
inputs:
59-
script: |-
60-
mkdir -p server
61-
62-
copy $(System.ArtifactsDirectory)/m2/com.microsoft.java.debug.plugin/com.microsoft.java.debug.plugin-*[!a-zA-Z].jar server/
63+
Contents: "$(System.ArtifactsDirectory)/m2/com.microsoft.java.debug.plugin/com.microsoft.java.debug.plugin-*.jar"
64+
TargetFolder: server/
6365
- task: Npm@1
6466
displayName: npm install
6567
inputs:

0 commit comments

Comments
 (0)