Skip to content

Commit 6db690c

Browse files
Fix Windows installation: update msiexec command to use Start-Process for better execution control
1 parent 47cf607 commit 6db690c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/Action-Test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
os: [ubuntu-latest, windows-latest, macOS-latest]
25-
version: ['7.4.0', '7.4.7', '7.5.0']
25+
version: ['', '7.4.7', '7.5.0']
2626
runs-on: ${{ matrix.os }}
2727
name: ${{ matrix.os }} - ${{ matrix.version }}
2828
steps:

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,4 @@ runs:
9797
$msi = "PowerShell-$($env:REQUESTED_VERSION)-win-x64.msi"
9898
$url = "https://github.com/PowerShell/PowerShell/releases/download/v$($env:REQUESTED_VERSION)/$msi"
9999
Invoke-WebRequest -Uri $url -OutFile $msi -UseBasicParsing
100-
msiexec.exe /i $msi REINSTALL=ALL /quiet /norestart
100+
Start-Process msiexec.exe -ArgumentList '/i', $msi, '/quiet', '/norestart' -Wait

0 commit comments

Comments
 (0)