fix - Copy file task does not copy required files (#1516)

This commit is contained in:
Sheng Chen 2024-07-08 13:31:43 +08:00 коммит произвёл GitHub
Родитель b5c05924a3
Коммит 19af24afa5
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
3 изменённых файлов: 12 добавлений и 12 удалений

Просмотреть файл

@ -45,9 +45,9 @@ extends:
jdkArchitectureOption: 'x64'
jdkSourceOption: 'PreInstalled'
- task: NodeTool@0
displayName: Install Node 16.14.2
displayName: Install Node 18.x
inputs:
versionSpec: '16.14.2'
versionSpec: 18.x
- task: Gradle@2
displayName: Build
inputs:

Просмотреть файл

@ -180,13 +180,13 @@ extends:
"ToolVersion" : "1.0"
}
]
- script: npx @vscode/vsce@latest package --pre-release -o extension.vsix
- bash: npx @vscode/vsce@latest package --pre-release -o extension.vsix
workingDirectory: $(Build.SourcesDirectory)/extension
displayName: Package VSIX
- script: npx @vscode/vsce@latest generate-manifest -i extension.vsix -o extension.manifest
- bash: npx @vscode/vsce@latest generate-manifest -i extension.vsix -o extension.manifest
workingDirectory: $(Build.SourcesDirectory)/extension
displayName: 'Generate extension manifest'
- script: cp extension.manifest extension.signature.p7s
- bash: cp extension.manifest extension.signature.p7s
workingDirectory: $(Build.SourcesDirectory)/extension
displayName: 'Prepare manifest for signing'
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@5
@ -219,7 +219,7 @@ extends:
displayName: Copy VSIX
inputs:
Contents: |
'extension/extension.vsix'
'extension/extension.manifest'
'extension/extension.signature.p7s'
extension/extension.vsix
extension/extension.manifest
extension/extension.signature.p7s
TargetFolder: '$(Build.ArtifactStagingDirectory)'

Просмотреть файл

@ -181,7 +181,7 @@ extends:
- bash: npx @vscode/vsce@latest generate-manifest -i extension.vsix -o extension.manifest
workingDirectory: $(Build.SourcesDirectory)/extension
displayName: 'Generate extension manifest'
- script: cp extension.manifest extension.signature.p7s
- bash: cp extension.manifest extension.signature.p7s
workingDirectory: $(Build.SourcesDirectory)/extension
displayName: 'Prepare manifest for signing'
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@5
@ -214,7 +214,7 @@ extends:
displayName: Copy VSIX
inputs:
Contents: |
'extension/extension.vsix'
'extension/extension.manifest'
'extension/extension.signature.p7s'
extension/extension.vsix
extension/extension.manifest
extension/extension.signature.p7s
TargetFolder: '$(Build.ArtifactStagingDirectory)'