@@ -331,6 +331,7 @@ jobs:
331331 BUILD_DIR : " ${{ github.workspace }}\\ openvino_build"
332332 MODELS_PATH : " ${{ github.workspace }}\\ testdata"
333333 SELECTIVE_BUILD_STAT_DIR : " ${{ github.workspace }}\\ selective_build_stat"
334+ GH_DEBUG : 1
334335 if : " !needs.smart_ci.outputs.skip_workflow"
335336
336337 steps :
@@ -350,14 +351,29 @@ jobs:
350351 lfs : ' true'
351352 ref : ${{ env.TARGET_BRANCH }}
352353
353- - name : Download selective build statistics package
354- uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
355- with :
356- name : openvino_selective_build_stat
357- path : ${{ env.SELECTIVE_BUILD_STAT_DIR }}
354+ - name : Install GH CLI
355+ run : choco install gh
358356
359- - name : Extract selective build statistics package
360- run : Expand-Archive ${{ env.SELECTIVE_BUILD_STAT_DIR }}/openvino_selective_build_stat.zip -DestinationPath "${{ env.SELECTIVE_BUILD_STAT_DIR }}"
357+ - name : Download and extract selective build statistics package
358+ uses : nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2
359+ with :
360+ timeout_minutes : 5
361+ max_attempts : 2
362+ command : |
363+ # Add `gh` to PATH
364+ $env:GH_TOKEN = "${{ github.token }}"
365+ $env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
366+ gh run download "$env:GITHUB_RUN_ID" --repo "$env:GITHUB_REPOSITORY" -n openvino_selective_build_stat --dir ${{ env.SELECTIVE_BUILD_STAT_DIR }}
367+
368+ Expand-Archive ${{ env.SELECTIVE_BUILD_STAT_DIR }}/openvino_selective_build_stat.zip -DestinationPath "${{ env.SELECTIVE_BUILD_STAT_DIR }}"
369+
370+ - name : Download selective build statistics package
371+ run : |
372+ # Add `gh` to PATH
373+ $env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
374+ gh run download "$env:GITHUB_RUN_ID" --repo "$env:GITHUB_REPOSITORY" -n openvino_selective_build_stat --dir ${{ env.SELECTIVE_BUILD_STAT_DIR }}
375+ env :
376+ GH_TOKEN : ${{ github.token }}
361377
362378 - name : Setup Python ${{ env.PYTHON_VERSION }}
363379 uses : ./openvino/.github/actions/setup_python
@@ -411,17 +427,25 @@ jobs:
411427 INSTALL_TEST_DIR : " ${{ github.workspace }}\\ tests_install"
412428 PARALLEL_TEST_SCRIPT : " ${{ github.workspace }}\\ tests_install\\ layer_tests_summary\\ run_parallel.py"
413429 PARALLEL_TEST_CACHE : " ${{ github.workspace }}\\ tests_install\\ test_cache.lst"
430+ GH_DEBUG : 1
414431 if : fromJSON(needs.smart_ci.outputs.affected_components).CPU.test
415432
416433 steps :
417- - name : Download OpenVINO tests package
418- uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
419- with :
420- name : openvino_tests
421- path : ${{ env.INSTALL_TEST_DIR }}
422-
423- - name : Extract OpenVINO tests package
424- run : Expand-Archive ${{ env.INSTALL_TEST_DIR }}/openvino_tests.zip -DestinationPath "${{ env.INSTALL_TEST_DIR }}"
434+ - name : Install GH CLI
435+ run : choco install gh
436+
437+ - name : Download and extract OpenVINO tests package
438+ uses : nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2
439+ with :
440+ timeout_minutes : 5
441+ max_attempts : 2
442+ command : |
443+ # Add `gh` to PATH
444+ $env:GH_TOKEN = "${{ github.token }}"
445+ $env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
446+ gh run download "$env:GITHUB_RUN_ID" --repo "$env:GITHUB_REPOSITORY" -n openvino_tests --dir ${{ env.INSTALL_TEST_DIR }}
447+
448+ Expand-Archive ${{ env.INSTALL_TEST_DIR }}/openvino_tests.zip -DestinationPath "${{ env.INSTALL_TEST_DIR }}"
425449
426450 - name : Fetch setup_python action
427451 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
0 commit comments