File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -144,12 +144,17 @@ runs:
144144
145145 URL="https://github.com/PowerShell/PowerShell/releases/download/v${REQUESTED_VERSION}/${PKG_NAME}"
146146 echo "Downloading from: $URL"
147+
148+ echo "Starting installation of PowerShell [$REQUESTED_VERSION]..."
149+
147150 if ! curl -sSL "$URL" -o "$PKG_NAME"; then
148151 echo "Error: Failed to download PowerShell package"
149152 exit 1
150153 fi
151154 sudo installer -pkg "$PKG_NAME" -target /
152155
156+ echo "Installation complete. PowerShell [$REQUESTED_VERSION] is now available."
157+
153158 - name : Install PowerShell (Windows)
154159 if : runner.os == 'Windows'
155160 shell : powershell
@@ -194,8 +199,13 @@ runs:
194199 $msi = "PowerShell-$($env:REQUESTED_VERSION)-win-x64.msi"
195200 $url = "https://github.com/PowerShell/PowerShell/releases/download/v$($env:REQUESTED_VERSION)/$msi"
196201 Write-Host "Downloading from: $url"
202+
203+ Write-Host "Starting installation of PowerShell [$($env:REQUESTED_VERSION)]..."
204+
197205 if (-not (Invoke-WebRequest -Uri $url -OutFile $msi -UseBasicParsing -PassThru)) {
198206 Write-Host "Error: Failed to download PowerShell package"
199207 exit 1
200208 }
201209 Start-Process msiexec.exe -ArgumentList '/i', $msi, '/quiet', '/norestart' -Wait
210+
211+ Write-Host "Installation complete. PowerShell [$($env:REQUESTED_VERSION)] is now available."
You can’t perform that action at this time.
0 commit comments