File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 7272 URL="https://github.com/PowerShell/PowerShell/releases/download/v${REQUESTED_VERSION}/${DEB_NAME}"
7373 echo "Downloading from: $URL"
7474 wget -q "$URL" -O "$DEB_NAME"
75+ echo "Starting installation of PowerShell [$REQUESTED_VERSION)]..."
7576 sudo dpkg -i "$DEB_NAME" || sudo apt-get -f install -y
77+ echo "Installation complete. PowerShell [$REQUESTED_VERSION] is now available."
7678 elif command -v rpm >/dev/null; then
7779 # RHEL/Fedora/CentOS based
7880 echo "Detected RHEL/Fedora/CentOS based system..."
@@ -86,11 +88,14 @@ runs:
8688 URL="https://github.com/PowerShell/PowerShell/releases/download/v${REQUESTED_VERSION}/${RPM_NAME}"
8789 echo "Downloading from: $URL"
8890 wget -q "$URL" -O "$RPM_NAME"
91+ echo "Starting installation of PowerShell [$REQUESTED_VERSION)]..."
8992 sudo rpm -i "$RPM_NAME" || sudo yum install -y "$RPM_NAME"
93+ echo "Installation complete. PowerShell [$REQUESTED_VERSION] is now available."
9094 else
9195 echo "Unsupported Linux distribution. Cannot determine package format."
9296 exit 1
9397 fi
98+ echo "PowerShell [$REQUESTED_VERSION] installed successfully."
9499
95100 - name : Install PowerShell (macOS)
96101 if : runner.os == 'macOS'
You can’t perform that action at this time.
0 commit comments