Skip to content

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

[GHA] Fix for getting version in provider (#29650)

Alina Kladieva524033a2ee43
diff --git a/.github/actions/openvino_provider/action.yml b/.github/actions/openvino_provider/action.yml
index a17986f35d3..6ec6440cfd2 100644
--- a/.github/actions/openvino_provider/action.yml
+++ b/.github/actions/openvino_provider/action.yml
@@ -141,7 +141,7 @@ runs:
run: |
artifacts_path=${{ steps.openvino_commit_download.outputs.artifacts_path }}
cd $artifacts_path
- version=$(yq eval '.components.dldt.custom_params.wheel_product_version' manifest.yml)
+ version=$(yq eval '.components.openvino.custom_params.wheel_product_version // .components.dldt.custom_params.wheel_product_version' manifest.yml)
wheel_path=${{ inputs.install_dir && '$artifacts_path/wheels' || './wheels' }}
default_find_links_cmd="--find-links=$wheel_path"
find_links_cmd=$([[ -n "$PIP_FIND_LINKS" ]] && echo "" || echo "$default_find_links_cmd")