Skip to content

ci/fix deploy #2381

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 10, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .azure-pipelines/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -265,11 +265,11 @@ extends:
pool:
vmImage: ubuntu-latest
steps:
- powershell: |
- pwsh: |
$fileNames = "$(Pipeline.Workspace)/Microsoft.OpenApi.Hidi.*.nupkg", "$(Pipeline.Workspace)/Microsoft.OpenApi.YamlReader.*.nupkg", "$(Pipeline.Workspace)/Microsoft.OpenApi.Workbench.*.nupkg"
foreach($fileName in $fileNames) {
if(Test-Path $fileName) {
rm $fileName -Verbose
Remove-Item $fileName -Verbose
}
}
displayName: remove other nupkgs to avoid duplication
Expand Down Expand Up @@ -365,7 +365,7 @@ extends:
inlineScript: |
az acr login --name $(REGISTRY)

- powershell: |
- pwsh: |
$content = [XML](Get-Content $(Pipeline.Workspace)/Directory.Build.props)
Write-Host "XML loaded, finding version..."

Expand Down Expand Up @@ -435,7 +435,7 @@ extends:
condition: eq(variables['Build.SourceBranch'], variables['PREVIEW_BRANCH'])

- script: |
docker run --privileged --rm tonistiigi/binfmt --install all
docker run --privileged --rm msgraphprodregistry.azurecr.io/tonistiigi/binfmt --install all
displayName: "Enable multi-platform builds"

- script: |
Expand Down
Loading