mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Create the folder before copying the global tools (#13476)
This commit is contained in:
1 parent
98dbaefcd6
commit
10fdfc4ac6
1 file changed
+2
-2
@@ -164,9 +164,9 @@ jobs:
|
||||
artifactPath: '$(System.ArtifactsDirectory)\signed'
|
||||
|
||||
- powershell: |
|
||||
if (-not (Test-Path "$(System.ArtifactsDirectory)\signed"))
|
||||
if (-not (Test-Path "$(System.ArtifactsDirectory)\signed\globaltool"))
|
||||
{
|
||||
$null = New-Item -Path "$(System.ArtifactsDirectory)\signed\globaltool" -ItemType Directory
|
||||
$null = New-Item -Path "$(System.ArtifactsDirectory)\signed\globaltool" -ItemType Directory -Force
|
||||
}
|
||||
|
||||
Move-Item -Path "$(System.ArtifactsDirectory)\signed\PowerShell.*" -Destination "$(System.ArtifactsDirectory)\signed\globaltool" -Force
|
||||
|
||||
Reference in new issue
Block a user