From 7ceff6a580f4be39a267acaee4ce21e150b1f7a3 Mon Sep 17 00:00:00 2001 From: Andrei Kashchikhin Date: Wed, 28 Feb 2024 17:22:05 +0000 Subject: [PATCH] [CI] [GHA] Transition to the v4 for `actions/upload` and `actions/download`-`artifact` (#23142) ### Details: - Should improve uploading and downloading stability of larger artefacts (e.g., test packages), and [improve speed](https://github.blog/changelog/2023-12-14-github-actions-artifacts-v4-is-now-generally-available/). ### Tickets: - *133744* --- .github/workflows/android_arm64.yml | 2 +- .github/workflows/build_doc.yml | 8 ++-- .github/workflows/coverity.yml | 2 +- .github/workflows/fedora.yml | 10 ++--- .../workflows/job_cpu_functional_tests.yml | 6 +-- .github/workflows/job_cxx_unit_tests.yml | 6 +-- .github/workflows/job_debian_packages.yml | 2 +- .github/workflows/job_onnx_models_tests.yml | 4 +- .github/workflows/job_onnx_runtime.yml | 2 +- .github/workflows/job_openvino_js.yml | 2 +- .github/workflows/job_python_unit_tests.yml | 8 ++-- .../workflows/job_pytorch_models_tests.yml | 8 ++-- .github/workflows/job_samples_tests.yml | 6 +-- .../workflows/job_tensorflow_models_tests.yml | 8 ++-- .github/workflows/linux.yml | 28 ++++++------- .github/workflows/linux_arm64.yml | 12 +++--- .../linux_conditional_compilation.yml | 10 ++--- .github/workflows/mac.yml | 6 +-- .github/workflows/mac_arm64.yml | 6 +-- .github/workflows/py_checks.yml | 6 +-- .github/workflows/windows.yml | 40 +++++++++---------- .../windows_conditional_compilation.yml | 12 +++--- 22 files changed, 97 insertions(+), 97 deletions(-) diff --git a/.github/workflows/android_arm64.yml b/.github/workflows/android_arm64.yml index 3f3ab41662fcde..dd8d805261b043 100644 --- a/.github/workflows/android_arm64.yml +++ b/.github/workflows/android_arm64.yml @@ -183,7 +183,7 @@ jobs: # Upload build logs # - name: Upload build logs - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() with: name: build_logs diff --git a/.github/workflows/build_doc.yml b/.github/workflows/build_doc.yml index ec87e04b234492..5fc223d9746bdf 100644 --- a/.github/workflows/build_doc.yml +++ b/.github/workflows/build_doc.yml @@ -69,19 +69,19 @@ jobs: echo "PR_NUMBER=$PR_NUMBER" >> $GITHUB_ENV - name: 'Upload doxygen.log' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: doxygen_build_log_${{ env.PR_NUMBER }}.log path: build/docs/doxygen.log - name: 'Upload sphinx.log' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: sphinx_build_log_${{ env.PR_NUMBER }}.log path: build/docs/sphinx.log - name: 'Upload docs html' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: openvino_docs_html_${{ env.PR_NUMBER }}.zip path: build/docs/openvino_docs_html.zip @@ -100,7 +100,7 @@ jobs: - name: 'Upload test results' if: failure() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: openvino_docs_pytest path: build/docs/_artifacts/ diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml index 255f1355d0c35f..b140b340ea6995 100644 --- a/.github/workflows/coverity.yml +++ b/.github/workflows/coverity.yml @@ -152,7 +152,7 @@ jobs: run: ${COVERITY_TOOL_DIR}/cov-analysis*/bin/cov-configure -c ${COVERITY_TOOL_DIR}/cov-analysis-linux64-2023.6.2/config/coverity_config.xml -lscc text - name: Upload Coverity logs - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() with: name: coverity_logs diff --git a/.github/workflows/fedora.yml b/.github/workflows/fedora.yml index 04e7e36fd63b86..b9a693d6648cdd 100644 --- a/.github/workflows/fedora.yml +++ b/.github/workflows/fedora.yml @@ -169,7 +169,7 @@ jobs: # Upload build artifacts and logs # - name: Upload build logs - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() with: name: build_logs @@ -178,7 +178,7 @@ jobs: - name: Upload openvino package if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: openvino_package path: ${{ env.BUILD_DIR }}/openvino_package.tar.gz @@ -186,7 +186,7 @@ jobs: - name: Upload openvino RPM packages if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: openvino_rpm_packages path: ${{ env.BUILD_DIR }}/*.rpm @@ -194,7 +194,7 @@ jobs: - name: Upload openvino tests package if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: openvino_tests path: ${{ env.BUILD_DIR }}/openvino_tests.tar.gz @@ -214,7 +214,7 @@ jobs: steps: - name: Download OpenVINO RPM packages - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: openvino_rpm_packages path: ${{ env.RPM_PACKAGES_DIR }} diff --git a/.github/workflows/job_cpu_functional_tests.yml b/.github/workflows/job_cpu_functional_tests.yml index aef02ae139a906..5936a028be52b6 100644 --- a/.github/workflows/job_cpu_functional_tests.yml +++ b/.github/workflows/job_cpu_functional_tests.yml @@ -35,13 +35,13 @@ jobs: run: echo 'Acquire::Retries "10";' > /etc/apt/apt.conf.d/80-retries - name: Download OpenVINO package - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: openvino_package path: ${{ env.INSTALL_DIR }} - name: Download OpenVINO tests package - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: openvino_tests path: ${{ env.INSTALL_TEST_DIR }} @@ -112,7 +112,7 @@ jobs: key: ${{ runner.os }}-${{ runner.arch }}-tests-functional-cpu-stamp-${{ github.sha }} - name: Upload Test Results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() with: name: test-results-functional-cpu diff --git a/.github/workflows/job_cxx_unit_tests.yml b/.github/workflows/job_cxx_unit_tests.yml index 91b3eb09de9d44..3f40ecda80ae08 100644 --- a/.github/workflows/job_cxx_unit_tests.yml +++ b/.github/workflows/job_cxx_unit_tests.yml @@ -37,13 +37,13 @@ jobs: run: echo 'Acquire::Retries "10";' > /etc/apt/apt.conf.d/80-retries - name: Download OpenVINO package - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: openvino_package path: ${{ env.INSTALL_DIR }} - name: Download OpenVINO tests package - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: openvino_tests path: ${{ env.INSTALL_TEST_DIR }} @@ -253,7 +253,7 @@ jobs: ${INSTALL_TEST_DIR}/ov_hetero_func_tests --gtest_print_time=1 --gtest_output=xml:${INSTALL_TEST_DIR}/TEST-OVHeteroFuncTests.xml - name: Upload Test Results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ !cancelled() }} with: name: test-results-cpp diff --git a/.github/workflows/job_debian_packages.yml b/.github/workflows/job_debian_packages.yml index 6749d3284399df..1124963034a496 100644 --- a/.github/workflows/job_debian_packages.yml +++ b/.github/workflows/job_debian_packages.yml @@ -31,7 +31,7 @@ jobs: run: echo 'Acquire::Retries "10";' > /etc/apt/apt.conf.d/80-retries - name: Download OpenVINO debian packages - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: openvino_debian_packages path: ${{ env.DEBIAN_PACKAGES_DIR }} diff --git a/.github/workflows/job_onnx_models_tests.yml b/.github/workflows/job_onnx_models_tests.yml index 1f4bf2569a4aa4..79c87a3c6e6402 100644 --- a/.github/workflows/job_onnx_models_tests.yml +++ b/.github/workflows/job_onnx_models_tests.yml @@ -40,13 +40,13 @@ jobs: run: echo 'Acquire::Retries "10";' > /etc/apt/apt.conf.d/80-retries - name: Download OpenVINO package - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: openvino_package path: ${{ env.INSTALL_DIR }} - name: Download OpenVINO tests package - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: openvino_tests path: ${{ env.INSTALL_TEST_DIR }} diff --git a/.github/workflows/job_onnx_runtime.yml b/.github/workflows/job_onnx_runtime.yml index d8d1d8c4d0c974..194d27d0f798e5 100644 --- a/.github/workflows/job_onnx_runtime.yml +++ b/.github/workflows/job_onnx_runtime.yml @@ -45,7 +45,7 @@ jobs: run: echo 'Acquire::Retries "10";' > /etc/apt/apt.conf.d/80-retries - name: Download OpenVINO package - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: openvino_package path: ${{ env.INSTALL_DIR }} diff --git a/.github/workflows/job_openvino_js.yml b/.github/workflows/job_openvino_js.yml index b36b48a3b718bc..58b8240eb44ba2 100644 --- a/.github/workflows/job_openvino_js.yml +++ b/.github/workflows/job_openvino_js.yml @@ -42,7 +42,7 @@ jobs: echo "OPENVINO_JS_LIBS_DIR=$GITHUB_WORKSPACE/openvino/src/bindings/js/node/bin" >> "$GITHUB_ENV" - name: Download OpenVINO JS package - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: openvino_js_package path: ${{ env.OPENVINO_JS_LIBS_DIR }} diff --git a/.github/workflows/job_python_unit_tests.yml b/.github/workflows/job_python_unit_tests.yml index 966618d1091f54..a10c0991fbdf0b 100644 --- a/.github/workflows/job_python_unit_tests.yml +++ b/.github/workflows/job_python_unit_tests.yml @@ -42,20 +42,20 @@ jobs: run: echo 'Acquire::Retries "10";' > /etc/apt/apt.conf.d/80-retries - name: Download OpenVINO package - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: openvino_package path: ${{ env.INSTALL_DIR }} - name: Download OpenVINO tests package - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: openvino_tests path: ${{ env.INSTALL_TEST_DIR }} - name: Download OpenVINO tokenizers extension if: ${{ runner.os != 'macOS' && runner.arch != 'ARM64' }} # Ticket: 126287 - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: openvino_tokenizers_wheel path: ${{ env.INSTALL_DIR }} @@ -327,7 +327,7 @@ jobs: python3 ${OPENVINO_REPO}/docs/snippets/main.py - name: Upload Test Results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ !cancelled() }} with: name: test-results-python diff --git a/.github/workflows/job_pytorch_models_tests.yml b/.github/workflows/job_pytorch_models_tests.yml index f43e39c9ce2cab..d2f263df95f796 100644 --- a/.github/workflows/job_pytorch_models_tests.yml +++ b/.github/workflows/job_pytorch_models_tests.yml @@ -47,19 +47,19 @@ jobs: fi - name: Download OpenVINO package - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: openvino_package path: ${{ env.INSTALL_DIR }} - name: Download OpenVINO tokenizers extension - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: openvino_tokenizers_wheel path: ${{ env.INSTALL_DIR }} - name: Download OpenVINO tests package - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: openvino_tests path: ${{ env.INSTALL_TEST_DIR }} @@ -139,7 +139,7 @@ jobs: df -h - name: Upload Test Results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ !cancelled() }} with: name: test-results-torch-models diff --git a/.github/workflows/job_samples_tests.yml b/.github/workflows/job_samples_tests.yml index 004119afdbe811..e0ef36c02af8c3 100644 --- a/.github/workflows/job_samples_tests.yml +++ b/.github/workflows/job_samples_tests.yml @@ -36,13 +36,13 @@ jobs: run: echo 'Acquire::Retries "10";' > /etc/apt/apt.conf.d/80-retries - name: Download OpenVINO package - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: openvino_package path: ${{ env.INSTALL_DIR }} - name: Download OpenVINO tests package - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: openvino_tests path: ${{ env.INSTALL_TEST_DIR }} @@ -128,7 +128,7 @@ jobs: --junitxml=$INSTALL_TEST_DIR/TEST-SamplesSmokeTests.xml - name: Upload Test Results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ !cancelled() }} with: name: test-results-samples diff --git a/.github/workflows/job_tensorflow_models_tests.yml b/.github/workflows/job_tensorflow_models_tests.yml index 0bab0523cbfe7d..c89370851ad24c 100644 --- a/.github/workflows/job_tensorflow_models_tests.yml +++ b/.github/workflows/job_tensorflow_models_tests.yml @@ -47,19 +47,19 @@ jobs: fi - name: Download OpenVINO package - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: openvino_package path: ${{ env.INSTALL_DIR }} - name: Download OpenVINO tokenizers extension - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: openvino_tokenizers_wheel path: ${{ env.INSTALL_DIR }} - name: Download OpenVINO tests package - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: openvino_tests path: ${{ env.INSTALL_TEST_DIR }} @@ -119,7 +119,7 @@ jobs: TEST_DEVICE: CPU - name: Upload Test Results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ !cancelled() }} with: name: test-results-tensorflow-models-${{ inputs.model_scope }} diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 3c3539806e7c85..46493c55bc3ab3 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -243,7 +243,7 @@ jobs: # Upload build artifacts and logs # - name: Upload build logs - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() with: name: build_logs @@ -252,7 +252,7 @@ jobs: - name: Upload openvino package if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: openvino_package path: ${{ env.BUILD_DIR }}/openvino_package.tar.gz @@ -260,7 +260,7 @@ jobs: - name: Upload openvino js package if: fromJSON(needs.smart_ci.outputs.affected_components).JS_API - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: openvino_js_package path: ${{ env.INSTALL_DIR_JS }} @@ -268,7 +268,7 @@ jobs: - name: Upload openvino developer package if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: openvino_developer_package path: ${{ env.BUILD_DIR }}/openvino_developer_package.tar.gz @@ -276,7 +276,7 @@ jobs: - name: Upload openvino debian packages if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: openvino_debian_packages path: ${{ env.BUILD_DIR }}/*.deb @@ -284,7 +284,7 @@ jobs: - name: Upload openvino tests package if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: openvino_tests path: ${{ env.BUILD_DIR }}/openvino_tests.tar.gz @@ -349,13 +349,13 @@ jobs: # - name: Download OpenVINO package - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: openvino_package path: ${{ env.INSTALL_DIR }} - name: Download OpenVINO tests package - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: openvino_tests path: ${{ env.INSTALL_TEST_DIR }} @@ -414,7 +414,7 @@ jobs: - name: Upload Conformance Artifacts if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: conformance_artifacts_${{ matrix.TEST_TYPE }}-${{ env.TEST_DEVICE }} path: ${{ env.CONFORMANCE_ARTIFACTS_DIR }}/conformance_artifacts.tar.gz @@ -440,7 +440,7 @@ jobs: - name: Upload Conformance Artifacts if: ${{ matrix.TEST_TYPE == 'API' }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: conformance_artifacts_${{ matrix.TEST_TYPE }}-TEMPLATE path: ${{ env.CONFORMANCE_ARTIFACTS_DIR }}/conformance_artifacts.tar.gz @@ -586,13 +586,13 @@ jobs: run: apt update && apt install -y git ca-certificates - name: Download OpenVINO package - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: openvino_package path: ${{ env.INSTALL_DIR }} - name: Download OpenVINO Developer package - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: openvino_developer_package path: ${{ env.INSTALL_DIR }} @@ -706,7 +706,7 @@ jobs: ref: 'master' - name: Download OpenVINO package - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: openvino_package path: ${{ env.INSTALL_DIR }} @@ -748,7 +748,7 @@ jobs: - name: Upload openvino tokenizers wheel if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: openvino_tokenizers_wheel path: ${{ env.EXTENSION_BUILD_DIR }}/*.whl diff --git a/.github/workflows/linux_arm64.yml b/.github/workflows/linux_arm64.yml index afd0210b92f6a3..bb6ffaf9b90d79 100644 --- a/.github/workflows/linux_arm64.yml +++ b/.github/workflows/linux_arm64.yml @@ -247,7 +247,7 @@ jobs: # Upload build artifacts and logs # - name: Upload build logs - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() with: name: build_logs @@ -256,7 +256,7 @@ jobs: - name: Upload openvino package if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: openvino_package path: ${{ env.BUILD_DIR }}/openvino_package.tar.gz @@ -264,7 +264,7 @@ jobs: - name: Upload openvino developer package if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: openvino_developer_package path: ${{ env.BUILD_DIR }}/openvino_developer_package.tar.gz @@ -272,7 +272,7 @@ jobs: - name: Upload openvino js package if: fromJSON(needs.smart_ci.outputs.affected_components).JS_API - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: openvino_js_package path: ${{ env.INSTALL_DIR_JS }} @@ -280,7 +280,7 @@ jobs: - name: Upload openvino debian packages if: ${{ 'false' }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: openvino_debian_packages path: ${{ env.BUILD_DIR }}/*.deb @@ -288,7 +288,7 @@ jobs: - name: Upload openvino tests package if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: openvino_tests path: ${{ env.BUILD_DIR }}/openvino_tests.tar.gz diff --git a/.github/workflows/linux_conditional_compilation.yml b/.github/workflows/linux_conditional_compilation.yml index f74802072c0910..f42f04f6d80b6c 100644 --- a/.github/workflows/linux_conditional_compilation.yml +++ b/.github/workflows/linux_conditional_compilation.yml @@ -219,7 +219,7 @@ jobs: # Upload build artifacts and logs # - name: Upload build logs - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() with: name: build_logs @@ -228,7 +228,7 @@ jobs: - name: Upload openvino package if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: openvino_package path: ${{ env.BUILD_DIR }}/openvino_package.tar.gz @@ -236,7 +236,7 @@ jobs: - name: Upload selective build statistics package if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: openvino_selective_build_stat path: ${{ env.BUILD_DIR }}/openvino_selective_build_stat.tar.gz @@ -244,7 +244,7 @@ jobs: - name: Upload OpenVINO tests package if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: openvino_tests path: ${{ env.BUILD_DIR }}/openvino_tests.tar.gz @@ -298,7 +298,7 @@ jobs: ref: 'master' - name: Download selective build statistics package - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: openvino_selective_build_stat path: ${{ env.SELECTIVE_BUILD_STAT_DIR }} diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml index c645781522039e..f727575a977260 100644 --- a/.github/workflows/mac.yml +++ b/.github/workflows/mac.yml @@ -206,7 +206,7 @@ jobs: - name: Upload openvino package if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: openvino_package path: ${{ env.BUILD_DIR }}/openvino_package.tar.gz @@ -214,7 +214,7 @@ jobs: - name: Upload openvino tests package if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: openvino_tests path: ${{ env.BUILD_DIR }}/openvino_tests.tar.gz @@ -222,7 +222,7 @@ jobs: - name: Upload openvino js package if: fromJSON(needs.smart_ci.outputs.affected_components).JS_API - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: openvino_js_package path: ${{ env.INSTALL_DIR_JS }} diff --git a/.github/workflows/mac_arm64.yml b/.github/workflows/mac_arm64.yml index b8738a65ecf70e..4babf69f4ad03d 100644 --- a/.github/workflows/mac_arm64.yml +++ b/.github/workflows/mac_arm64.yml @@ -205,7 +205,7 @@ jobs: - name: Upload openvino package if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: openvino_package path: ${{ env.BUILD_DIR }}/openvino_package.tar.gz @@ -213,7 +213,7 @@ jobs: - name: Upload openvino tests package if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: openvino_tests path: ${{ env.BUILD_DIR }}/openvino_tests.tar.gz @@ -221,7 +221,7 @@ jobs: - name: Upload openvino js package if: fromJSON(needs.smart_ci.outputs.affected_components).JS_API - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: openvino_js_package path: ${{ env.INSTALL_DIR_JS }} diff --git a/.github/workflows/py_checks.yml b/.github/workflows/py_checks.yml index 7dbe07752766db..b4a361c0e55496 100644 --- a/.github/workflows/py_checks.yml +++ b/.github/workflows/py_checks.yml @@ -47,7 +47,7 @@ jobs: git diff > samples_diff.diff working-directory: samples/python - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: failure() with: name: samples_diff @@ -65,7 +65,7 @@ jobs: git diff > pyopenvino_diff.diff working-directory: src/bindings/python/src/openvino - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: failure() with: name: pyopenvino_diff @@ -83,7 +83,7 @@ jobs: git diff > wheel_diff.diff working-directory: src/bindings/python/wheel - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: failure() with: name: wheel_diff diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 4814182e802445..a1301bbc66e1c2 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -231,7 +231,7 @@ jobs: # Upload build artifacts and logs # - name: Upload build logs - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() with: name: build_logs @@ -239,14 +239,14 @@ jobs: if-no-files-found: 'ignore' - name: Upload openvino package - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: openvino_package path: ${{ env.BUILD_DIR }}/openvino_package.zip if-no-files-found: 'error' - name: Upload openvino tests package - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: openvino_tests path: ${{ env.BUILD_DIR }}/openvino_tests.zip @@ -254,7 +254,7 @@ jobs: - name: Upload openvino js package if: fromJSON(needs.smart_ci.outputs.affected_components).JS_API - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: openvino_js_package path: ${{ env.INSTALL_DIR_JS }} @@ -277,13 +277,13 @@ jobs: steps: - name: Download OpenVINO package - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: openvino_package path: ${{ env.INSTALL_DIR }} - name: Download OpenVINO tests package - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: openvino_tests path: ${{ env.INSTALL_TEST_DIR }} @@ -350,7 +350,7 @@ jobs: & ${{ env.SAMPLES_INSTALL_DIR }}/c/build_samples_msvc.bat -i ${{ env.INSTALL_DIR }}/samples_bat -b ${{ env.BUILD_DIR }}/c_samples_bat - name: Upload Test Results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ !cancelled() }} with: name: test-results-samples @@ -378,7 +378,7 @@ jobs: path: 'openvino' - name: Download OpenVINO js package - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: openvino_js_package path: ${{ env.OPENVINO_JS_LIBS_DIR }} @@ -439,7 +439,7 @@ jobs: ref: 'master' - name: Download OpenVINO package - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: openvino_package path: ${{ env.INSTALL_DIR }} @@ -477,7 +477,7 @@ jobs: - name: Upload openvino tokenizers wheel if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: openvino_tokenizers_wheel path: ${{ env.EXTENSION_BUILD_DIR }}/*.whl @@ -501,19 +501,19 @@ jobs: steps: - name: Download OpenVINO package - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: openvino_package path: ${{ env.INSTALL_DIR }} - name: Download OpenVINO tokenizers extension - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: openvino_tokenizers_wheel path: ${{ env.INSTALL_DIR }} - name: Download OpenVINO tests package - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: openvino_tests path: ${{ env.INSTALL_TEST_DIR }} @@ -706,7 +706,7 @@ jobs: run: python3 -m pytest -s ${{ env.INSTALL_TEST_DIR }}/ovc/unit_tests --junitxml=${{ env.INSTALL_TEST_DIR }}/TEST-OpenVinoConversion.xml - name: Upload Test Results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ !cancelled() }} with: name: test-results-python @@ -727,13 +727,13 @@ jobs: steps: - name: Download OpenVINO package - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: openvino_package path: ${{ env.INSTALL_DIR }} - name: Download OpenVINO tests package - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: openvino_tests path: ${{ env.INSTALL_TEST_DIR }} @@ -903,7 +903,7 @@ jobs: ${{ env.INSTALL_TEST_DIR }}/ov_hetero_func_tests --gtest_print_time=1 --gtest_output=xml:${{ env.INSTALL_TEST_DIR }}/TEST-OVHeteroFuncTests.xml - name: Upload Test Results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ !cancelled() }} with: name: test-results-cpp @@ -927,13 +927,13 @@ jobs: if: fromJSON(needs.smart_ci.outputs.affected_components).CPU.test steps: - name: Download OpenVINO package - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: openvino_package path: ${{ env.INSTALL_DIR }} - name: Download OpenVINO tests package - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: openvino_tests path: ${{ env.INSTALL_TEST_DIR }} @@ -987,7 +987,7 @@ jobs: key: ${{ runner.os }}-tests-functional-cpu-stamp-${{ github.sha }} - name: Upload Test Results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ !cancelled() }} with: name: test-results-functional-cpu diff --git a/.github/workflows/windows_conditional_compilation.yml b/.github/workflows/windows_conditional_compilation.yml index 8f025e66588e64..3b893eb65b228f 100644 --- a/.github/workflows/windows_conditional_compilation.yml +++ b/.github/workflows/windows_conditional_compilation.yml @@ -243,7 +243,7 @@ jobs: # Upload build artifacts and logs # - name: Upload build logs - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() with: name: build_logs @@ -252,7 +252,7 @@ jobs: - name: Upload selective build statistics package if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: openvino_selective_build_stat path: ${{ env.BUILD_DIR }}/openvino_selective_build_stat.zip @@ -260,7 +260,7 @@ jobs: - name: Upload OpenVINO tests package if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: openvino_tests path: ${{ env.BUILD_DIR }}/openvino_tests.zip @@ -303,7 +303,7 @@ jobs: ref: 'master' - name: Download selective build statistics package - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: openvino_selective_build_stat path: ${{ env.SELECTIVE_BUILD_STAT_DIR }} @@ -376,7 +376,7 @@ jobs: steps: - name: Download OpenVINO tests package - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: openvino_tests path: ${{ env.INSTALL_TEST_DIR }} @@ -419,7 +419,7 @@ jobs: timeout-minutes: 60 - name: Upload Test Results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ !cancelled() }} with: name: test-results-functional-cpu