diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index a12fa4ad78..e3bc5b4c92 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -385,11 +385,13 @@ jobs: pattern: "{${{ needs.openvino_download.outputs.ov_artifact_name }},genai_wheels}" path: ${{ env.INSTALL_DIR }} merge-multiple: true - + - name: Install GenAI Wheels - run: python -m pip install ${{ env.INSTALL_DIR }}/wheels/openvino_genai*.whl openvino-tokenizers[transformers] ${{ needs.openvino_download.outputs.ov_wheel_source }} --force-reinstall - working-directory: ${{ env.INSTALL_DIR }} - + uses: ./src/.github/actions/install_wheel + with: + packages: "openvino;openvino_tokenizers[transformers];openvino_genai" + local_wheel_dir: ${{ env.INSTALL_DIR }}/wheels + - name: Install Test Requirements run: python -m pip install -r ./tests/python_tests/requirements.txt working-directory: ${{ env.SRC_DIR }} @@ -445,8 +447,10 @@ jobs: working-directory: ${{ env.INSTALL_DIR }} - name: Install GenAI Wheels - run: python -m pip install ${{ env.INSTALL_DIR }}/wheels/openvino_genai*.whl openvino-tokenizers[transformers] ${{ needs.openvino_download.outputs.ov_wheel_source }} --force-reinstall - working-directory: ${{ env.INSTALL_DIR }} + uses: ./src/.github/actions/install_wheel + with: + packages: "openvino;openvino_tokenizers[transformers];openvino_genai" + local_wheel_dir: ${{ env.INSTALL_DIR }}/wheels - name: Install Samples Requirements run: python -m pip install -r ./samples/requirements.txt