File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -216,19 +216,10 @@ extends:
216216 search_root : ' $(Build.SourcesDirectory)/EV2Specs/ServiceGroupRoot/Shell'
217217 - download : current
218218 displayName : Download artifacts
219- - pwsh : |
220- $modulePath = Join-Path $(drop) -ChildPath 'Microsoft.PowerShell.SecretManagement.$(version).nupkg'
221- $fileExists = Test-Path $modulePath
222- Write-Verbose -Verbose "Module file $modulePath Exists: $fileExists"
223-
224- $srcDir = Join-Path '$(Build.SourcesDirectory)/EV2Specs/ServiceGroupRoot' -ChildPath 'SrcFiles'
225- New-Item $srcDir -ItemType Directory
226-
227- $dest = Join-Path $srcDir -ChildPath 'Microsoft.PowerShell.SecretManagement.$(version).nupkg'
228- Copy-Item -Path $modulePath -Destination $dest
229-
230- Get-ChildItem '$(Build.SourcesDirectory)/EV2Specs/ServiceGroupRoot/SrcFiles/'
231- displayName: Move artifact to Ev2 folder
219+ - task : CopyFiles@2
220+ SourceFolder : $(drop)
221+ Contents : Microsoft.PowerShell.SecretManagement.$(version).nupkg
222+ TargetFolder : $(Build.SourcesDirectory)/EV2Specs/ServiceGroupRoot/SrcFiles/
232223 - pwsh : |
233224 $srcPath = Join-Path '$(Build.SourcesDirectory)/EV2Specs/ServiceGroupRoot' -ChildPath 'Shell'
234225 $pathToRunTarFile = Join-Path '$(Build.SourcesDirectory)/EV2Specs/ServiceGroupRoot/Shell' -ChildPath "Run.tar"
You can’t perform that action at this time.
0 commit comments