Skip to content

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

[GHA] Fix wheels storage handling (#27039)

Alina Kladievab2782fae3b50
diff --git a/.github/workflows/job_build_linux.yml b/.github/workflows/job_build_linux.yml
index d253f779152..d58e879c736 100644
--- a/.github/workflows/job_build_linux.yml
+++ b/.github/workflows/job_build_linux.yml
@@ -321,7 +321,7 @@ jobs:
popd
- name: Store artifacts to a shared drive
- id: store_artifacts_common
+ id: store_artifacts
if: ${{ always() }}
uses: ./openvino/.github/actions/store_artifacts
with:
@@ -331,15 +331,8 @@ jobs:
${{ env.BUILD_DIR }}/openvino_tests.tar.gz
${{ env.BUILD_DIR }}/deb
${{ env.MANIFEST_PATH }}
+ ${{ env.STORE_WHEELS == 'true' && format('{0}/wheels', env.BUILD_DIR) || '' }}
storage_dir: ${{ env.PRODUCT_TYPE }}
storage_root: ${{ env.ARTIFACTS_SHARE }}
-
- - name: Store artifacts to a shared drive (wheels)
- id: store_artifacts_wheels
- if: ${{ inputs.os != 'debian_10' && inputs.arch != 'arm' }}
- uses: ./openvino/.github/actions/store_artifacts
- with:
- artifacts: |
- ${{ env.BUILD_DIR }}/wheels
- storage_dir: ${{ env.PRODUCT_TYPE }}
- storage_root: ${{ env.ARTIFACTS_SHARE }}
+ env:
+ STORE_WHEELS: ${{ inputs.os != 'debian_10' && inputs.arch != 'arm' }}