Skip to content

Commit 163c1ba

Browse files
authored
Merge pull request #2381 from microsoft/ci/fix-deploy
ci/fix deploy
2 parents 6a755eb + 502830a commit 163c1ba

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.azure-pipelines/ci-build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -265,11 +265,11 @@ extends:
265265
pool:
266266
vmImage: ubuntu-latest
267267
steps:
268-
- powershell: |
268+
- pwsh: |
269269
$fileNames = "$(Pipeline.Workspace)/Microsoft.OpenApi.Hidi.*.nupkg", "$(Pipeline.Workspace)/Microsoft.OpenApi.YamlReader.*.nupkg", "$(Pipeline.Workspace)/Microsoft.OpenApi.Workbench.*.nupkg"
270270
foreach($fileName in $fileNames) {
271271
if(Test-Path $fileName) {
272-
rm $fileName -Verbose
272+
Remove-Item $fileName -Verbose
273273
}
274274
}
275275
displayName: remove other nupkgs to avoid duplication
@@ -365,7 +365,7 @@ extends:
365365
inlineScript: |
366366
az acr login --name $(REGISTRY)
367367
368-
- powershell: |
368+
- pwsh: |
369369
$content = [XML](Get-Content $(Pipeline.Workspace)/Directory.Build.props)
370370
Write-Host "XML loaded, finding version..."
371371
@@ -435,7 +435,7 @@ extends:
435435
condition: eq(variables['Build.SourceBranch'], variables['PREVIEW_BRANCH'])
436436
437437
- script: |
438-
docker run --privileged --rm tonistiigi/binfmt --install all
438+
docker run --privileged --rm msgraphprodregistry.azurecr.io/tonistiigi/binfmt --install all
439439
displayName: "Enable multi-platform builds"
440440
441441
- script: |

0 commit comments

Comments
 (0)