ci: Update 7zip function to extract game data (#9666)

This commit is contained in:
Björn Dahlgren 2023-12-01 15:28:58 +01:00 committed by GitHub
parent f94197b1c3
commit 56b0baf97c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,7 @@ jobs:
Invoke-WebRequest "$env:RHSUSF_URL" -OutFile rhsusf.zip Invoke-WebRequest "$env:RHSUSF_URL" -OutFile rhsusf.zip
$files = @("arma3.zip", "rhsafrf.zip", "rhsgref.zip", "rhssaf.zip", "rhsusf.zip") $files = @("arma3.zip", "rhsafrf.zip", "rhsgref.zip", "rhssaf.zip", "rhsusf.zip")
ForEach ($file in $files) { ForEach ($file in $files) {
Extract-7Zip -Path $file -DestinationPath . Expand-7ZipArchive -Path $file -DestinationPath .
Remove-Item $file Remove-Item $file
} }
env: env: