From fda955ef9b799443b5efbc19efdd08bbd2338c55 Mon Sep 17 00:00:00 2001 From: Alexander Smorkalov Date: Tue, 30 Jun 2026 15:50:18 +0300 Subject: [PATCH] Standard github actions stetps update. --- .github/workflows/build_wheels_macos.yml | 14 +++++++------- .github/workflows/build_wheels_macos_m1.yml | 14 +++++++------- .github/workflows/build_wheels_manylinux.yml | 18 +++++++++--------- .github/workflows/build_wheels_windows.yml | 14 +++++++------- 4 files changed, 30 insertions(+), 30 deletions(-) diff --git a/.github/workflows/build_wheels_macos.yml b/.github/workflows/build_wheels_macos.yml index 46762d8e2..4a96dd3e3 100644 --- a/.github/workflows/build_wheels_macos.yml +++ b/.github/workflows/build_wheels_macos.yml @@ -55,7 +55,7 @@ jobs: echo "ENABLE_ROLLING=1" >> $GITHUB_ENV fi - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v7 with: submodules: false fetch-depth: 0 @@ -69,7 +69,7 @@ jobs: python${{ matrix.python-version }} setup.py bdist_wheel --py-limited-api=cp37 --dist-dir=wheelhouse -v delocate-wheel ${{ github.workspace }}/wheelhouse/opencv* - name: Saving a wheel accordingly to matrix - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: wheel-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }} path: wheelhouse/opencv*.whl @@ -100,12 +100,12 @@ jobs: run: find . -mindepth 1 -delete working-directory: ${{ github.workspace }} - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v7 with: submodules: true fetch-depth: 0 - name: Download a wheel accordingly to matrix - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: wheel-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }} path: wheelhouse/ @@ -141,7 +141,7 @@ jobs: run: shell: bash steps: - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v8 with: name: wheels path: wheelhouse/ @@ -171,7 +171,7 @@ jobs: run: shell: bash steps: - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v8 with: path: wheelhouse/ - name: Upload all wheels @@ -189,7 +189,7 @@ jobs: run: shell: bash steps: - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v8 with: path: wheelhouse/ - name: Upload wheels for opencv_python diff --git a/.github/workflows/build_wheels_macos_m1.yml b/.github/workflows/build_wheels_macos_m1.yml index c77a87d65..9c8c670f2 100644 --- a/.github/workflows/build_wheels_macos_m1.yml +++ b/.github/workflows/build_wheels_macos_m1.yml @@ -43,7 +43,7 @@ jobs: echo "ENABLE_ROLLING=1" >> $GITHUB_ENV fi - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v7 with: submodules: false fetch-depth: 0 @@ -57,7 +57,7 @@ jobs: python${{ matrix.python-version }} setup.py bdist_wheel --py-limited-api=cp37 --dist-dir=wheelhouse -v delocate-wheel ${{ github.workspace }}/wheelhouse/opencv* - name: Saving a wheel accordingly to matrix - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: wheel-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }} path: wheelhouse/opencv*.whl @@ -82,12 +82,12 @@ jobs: run: find . -mindepth 1 -delete working-directory: ${{ github.workspace }} - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v7 with: submodules: true fetch-depth: 0 - name: Download a wheel accordingly to matrix - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: wheel-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }} path: wheelhouse/ @@ -123,7 +123,7 @@ jobs: run: shell: bash steps: - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v8 with: name: wheels path: wheelhouse/ @@ -153,7 +153,7 @@ jobs: run: shell: bash steps: - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v8 with: path: wheelhouse/ - name: Upload all wheels @@ -171,7 +171,7 @@ jobs: run: shell: bash steps: - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v8 with: path: wheelhouse/ - name: Upload wheels for opencv_python diff --git a/.github/workflows/build_wheels_manylinux.yml b/.github/workflows/build_wheels_manylinux.yml index 126870a1c..263787b75 100644 --- a/.github/workflows/build_wheels_manylinux.yml +++ b/.github/workflows/build_wheels_manylinux.yml @@ -71,7 +71,7 @@ jobs: echo "ENABLE_ROLLING=1" >> $GITHUB_ENV fi - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v7 with: submodules: false fetch-depth: 0 @@ -79,7 +79,7 @@ jobs: - name: Build a package run: source scripts/build.sh - name: Saving a wheel accordingly to matrix - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: wheel-${{ matrix.platform }}-${{ matrix.manylinux }}-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }} path: wheelhouse/opencv*.whl @@ -116,7 +116,7 @@ jobs: run: find . -mindepth 1 -delete working-directory: ${{ github.workspace }} - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v7 with: submodules: true fetch-depth: 0 @@ -124,7 +124,7 @@ jobs: - name: Setup Environment variables run: if [ "3.10" == "${{ matrix.python-version }}" -o "3.11" == "${{ matrix.python-version }}" -o "3.12" == "${{ matrix.python-version }}" -o "3.13" == "${{ matrix.python-version }}" -o "3.14" == "${{ matrix.python-version }}" ]; then echo "TEST_DEPENDS=$(echo $NP_TEST_DEP_LATEST)" >> $GITHUB_ENV; else echo "TEST_DEPENDS=$(echo $NP_TEST_DEP)" >> $GITHUB_ENV; fi - name: Download a wheel accordingly to matrix - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: wheel-${{ matrix.platform }}-${{ matrix.manylinux }}-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }} path: wheelhouse/ @@ -171,7 +171,7 @@ jobs: echo "ENABLE_ROLLING=1" >> $GITHUB_ENV fi - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v7 with: submodules: false fetch-depth: 0 @@ -193,7 +193,7 @@ jobs: set -x echo "skipping tests because of sdist" - name: saving artifacts - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: wheel-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }} path: dist/opencv*.tar.gz @@ -207,7 +207,7 @@ jobs: run: shell: bash steps: - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v8 with: path: wheelhouse/ @@ -237,7 +237,7 @@ jobs: run: shell: bash steps: - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v8 with: path: wheelhouse/ @@ -256,7 +256,7 @@ jobs: run: shell: bash steps: - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v8 with: path: wheelhouse/ - name: Upload wheels for opencv_python diff --git a/.github/workflows/build_wheels_windows.yml b/.github/workflows/build_wheels_windows.yml index 6d560af3d..6be3b68a8 100644 --- a/.github/workflows/build_wheels_windows.yml +++ b/.github/workflows/build_wheels_windows.yml @@ -46,7 +46,7 @@ jobs: echo "ENABLE_ROLLING=1" >> $GITHUB_ENV fi - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: submodules: false fetch-depth: 0 @@ -70,7 +70,7 @@ jobs: set "CI_BUILD=1" && python setup.py bdist_wheel --py-limited-api=cp37 --dist-dir=%cd%\wheelhouse -v shell: cmd - name: Saving all wheels - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: wheel-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }}-${{ matrix.platform }} path: wheelhouse/opencv* @@ -102,7 +102,7 @@ jobs: rm -rf ./.??* || true working-directory: ${{ github.workspace }} - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: submodules: true fetch-depth: 0 @@ -112,7 +112,7 @@ jobs: python-version: ${{ matrix.python-version }} architecture: ${{ matrix.platform }} - name: Download a wheel accordingly to matrix - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: wheel-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }}-${{ matrix.platform }} path: wheelhouse/ @@ -142,7 +142,7 @@ jobs: run: shell: bash steps: - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v8 with: path: wheelhouse/ - name: Upload wheels for opencv_python_rolling @@ -171,7 +171,7 @@ jobs: run: shell: bash steps: - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v8 with: path: wheelhouse/ - name: Upload all wheels @@ -188,7 +188,7 @@ jobs: run: shell: bash steps: - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v8 with: path: wheelhouse/ - name: Upload wheels for opencv_python