Closed FlorinChess closed 8 months ago
Hello @FlorinChess . Extract-7Zip
cmdlet was part of functions that using for image generation only and we do not recommend use it in workflows. It was replaced with Expand-7ZipArchive
function during runner-images
major repo refactoring.
Description
I have a job that uses 7-Zip in one of the steps which came preinstalled. Trying to run the job a few months later, the window-latest runner no longer has 7-Zip preinstalled which causes the job to fail.
Platforms affected
Runner images affected
Image version and build link
Image: windows-2022 Version: 20240211.1.0
https://github.com/FlorinChess/Music/actions/runs/7944706780/job/21690977695
Is it regression?
Inconclusive: run logs no longer available
Expected behavior
When the workflow was first written, windows-latest runners had 7-Zip installed, no extra setup required.
Actual behavior
The windows-latest images no longer have 7-Zip preinstalled.
Repro steps
The build fails on
Extract-7Zip -Path C:\Scream3.6.zip -DestinationPath C:\Scream
with the powershell error:For more information, check out the public build: https://github.com/FlorinChess/Music/actions/runs/7944706780/job/21690977695