Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

[CI] [GHA] Add more logs to `install-ov-wheels` actions (#30790)

Andrei Kashchikhinde5d1479460d
diff --git a/.github/actions/install_ov_wheels/action.yml b/.github/actions/install_ov_wheels/action.yml
index 82c03aeb4e4..0168407a3c1 100644
--- a/.github/actions/install_ov_wheels/action.yml
+++ b/.github/actions/install_ov_wheels/action.yml
@@ -13,12 +13,17 @@ runs:
shell: pwsh
if: runner.os == 'Windows'
run: |
- # Get the Python version
+ Write-Host "Python Version: $(python3 -V)"
+
$pyVersion = python3 -c "import sys; print(f'{sys.version_info.major}{sys.version_info.minor}')"
+ Write-Host "Parsed Python version: $pyVersion"
+ Write-Host "Wheels folder: $(Get-ChildItem -Path ${{ inputs.wheels-dir-path }})"
+
foreach ($wheel in $("${{ inputs.wheels-to-install }}" -split ' ')) {
# Search for the python-specific wheel version and install it if exists
$wheelPath = Get-ChildItem -Path ${{ inputs.wheels-dir-path }} -Filter "$wheel-*cp$pyVersion*.whl" | Select-Object -First 1
+ Write-Host "Wheel path: $($wheelPath)"
if ($wheelPath) {
python3 -m pip install $wheelPath.FullName
} else {
@@ -32,7 +37,13 @@ runs:
shell: bash
if: runner.os != 'Windows'
run: |
+ echo "Python Version: $(python3 -V)"
+
py_version=$(python3 -c "import sys; print(f'{sys.version_info.major}{sys.version_info.minor}')")
+ echo "Parsed Python version: ${py_version}"
+
+ echo "Wheels folder: $(ls -la ${{ inputs.wheels-dir-path }})"
+
for wheel in ${{ inputs.wheels-to-install }}; do
echo "Installing the ${wheel} wheel"