Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Commit 5e682d6

Browse files
committed
Install 7zip first
1 parent 503c80c commit 5e682d6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

azure-pipelines.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,12 @@ steps:
9191
displayName: Build and pack extension
9292

9393
# Extract the VSIXes, sign what we can, then pack it back up and publish it.
94+
- pwsh: |
95+
$path = Join-Path $Env:TEMP "7z-installer.exe"
96+
Invoke-WebRequest https://www.7-zip.org/a/7z2201-x64.exe -OutFile $path
97+
Start-Process -FilePath $path -Args "/S" -Verb RunAs -Wait
98+
Remove-Item $path
99+
displayName: Install 7zip
94100
- pwsh: Get-ChildItem out\vsix | Foreach-Object { 7z e $_.FullName -o$(Build.StagingDirectory)\vscode-arduino\$_.BaseName }
95101
displayName: Extract extension for signing
96102
- task: NuGetToolInstaller@1

0 commit comments

Comments
 (0)