From 4a15905f8f2a52f9a1d5f93196ce6a29a4f12daf Mon Sep 17 00:00:00 2001 From: Kunal Garg Date: Sat, 19 Apr 2025 00:57:33 +0530 Subject: [PATCH 01/10] changed to action v4 --- .github/workflows/build_wheels_linux.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_wheels_linux.yml b/.github/workflows/build_wheels_linux.yml index 7bfe8cec..71769559 100644 --- a/.github/workflows/build_wheels_linux.yml +++ b/.github/workflows/build_wheels_linux.yml @@ -1,6 +1,8 @@ name: Linux x86_64 on: + push: + pull_request: branches: - master @@ -58,7 +60,7 @@ jobs: echo "ENABLE_ROLLING=1" >> $GITHUB_ENV fi - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: false fetch-depth: 0 @@ -101,7 +103,7 @@ jobs: run: find . -mindepth 1 -delete working-directory: ${{ github.workspace }} - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: true fetch-depth: 0 @@ -155,7 +157,7 @@ jobs: echo "ENABLE_ROLLING=1" >> $GITHUB_ENV fi - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: false fetch-depth: 0 From 304be7bd94c246b2f72983e9cc141bfdd52ee02f Mon Sep 17 00:00:00 2001 From: Kunal Garg <94951050+KunalG-Zol@users.noreply.github.com> Date: Sat, 19 Apr 2025 01:06:56 +0530 Subject: [PATCH 02/10] changed to action v4 --- .github/workflows/build_wheels_linux.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_wheels_linux.yml b/.github/workflows/build_wheels_linux.yml index 71769559..2f46420b 100644 --- a/.github/workflows/build_wheels_linux.yml +++ b/.github/workflows/build_wheels_linux.yml @@ -22,7 +22,7 @@ on: jobs: Build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 defaults: run: shell: bash From 60aee0f5668d74d1281ff14062159e3120b18549 Mon Sep 17 00:00:00 2001 From: Kunal Garg <94951050+KunalG-Zol@users.noreply.github.com> Date: Sat, 19 Apr 2025 01:13:11 +0530 Subject: [PATCH 03/10] changed to upload artifact v4 --- .github/workflows/build_wheels_linux.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_wheels_linux.yml b/.github/workflows/build_wheels_linux.yml index 2f46420b..68cbb718 100644 --- a/.github/workflows/build_wheels_linux.yml +++ b/.github/workflows/build_wheels_linux.yml @@ -67,12 +67,12 @@ jobs: - name: Build a package run: source scripts/build.sh - name: Saving all wheels - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: wheels path: wheelhouse/opencv*.whl - name: Saving a wheel accordingly to matrix - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: wheel-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }} path: wheelhouse/opencv*.whl @@ -179,7 +179,7 @@ jobs: set -x echo "skipping tests because of sdist" - name: saving artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: wheels path: dist/opencv*.tar.gz From b3f3f00b408d838c478bf32a8d7e2fcc3b0ceb6a Mon Sep 17 00:00:00 2001 From: Kunal Garg <94951050+KunalG-Zol@users.noreply.github.com> Date: Sat, 19 Apr 2025 01:30:18 +0530 Subject: [PATCH 04/10] changed to ubuntu-24.04 --- .github/workflows/build_wheels_linux.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_wheels_linux.yml b/.github/workflows/build_wheels_linux.yml index 68cbb718..405f89a1 100644 --- a/.github/workflows/build_wheels_linux.yml +++ b/.github/workflows/build_wheels_linux.yml @@ -79,7 +79,7 @@ jobs: Test: needs: [Build] - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 defaults: run: shell: bash @@ -118,7 +118,7 @@ jobs: run: source scripts/install.sh Build_sdist: - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 defaults: run: shell: bash @@ -187,7 +187,7 @@ jobs: Release_rolling: if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }} needs: [Build, Test] - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 environment: opencv-python-rolling-release defaults: run: @@ -217,7 +217,7 @@ jobs: Pre-release: if: github.event_name == 'release' && github.event.release.prerelease needs: [Build, Build_sdist, Test] - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 environment: test-opencv-python-release defaults: run: @@ -235,7 +235,7 @@ jobs: Release: if: github.event_name == 'release' && !github.event.release.prerelease needs: [Build, Build_sdist, Test] - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 environment: opencv-python-release defaults: run: From eae81b19edf2345d15da66c472341dff82c20b4e Mon Sep 17 00:00:00 2001 From: Kunal Garg <94951050+KunalG-Zol@users.noreply.github.com> Date: Sat, 19 Apr 2025 01:42:26 +0530 Subject: [PATCH 05/10] changed overwrite to true --- .github/workflows/build_wheels_linux.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build_wheels_linux.yml b/.github/workflows/build_wheels_linux.yml index 405f89a1..f0396532 100644 --- a/.github/workflows/build_wheels_linux.yml +++ b/.github/workflows/build_wheels_linux.yml @@ -183,6 +183,7 @@ jobs: with: name: wheels path: dist/opencv*.tar.gz + overwrite: true Release_rolling: if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }} From cae807f4ba231c18c521b297485ba3928e71cb0a Mon Sep 17 00:00:00 2001 From: Kunal Garg <94951050+KunalG-Zol@users.noreply.github.com> Date: Sat, 19 Apr 2025 01:53:00 +0530 Subject: [PATCH 06/10] fixed overwrite to true --- .github/workflows/build_wheels_linux.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_wheels_linux.yml b/.github/workflows/build_wheels_linux.yml index f0396532..b34fad20 100644 --- a/.github/workflows/build_wheels_linux.yml +++ b/.github/workflows/build_wheels_linux.yml @@ -183,7 +183,7 @@ jobs: with: name: wheels path: dist/opencv*.tar.gz - overwrite: true + overwrite: 'true' Release_rolling: if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }} From 074f7e21126a84a56c4a5438e39b7da7314e8041 Mon Sep 17 00:00:00 2001 From: Kunal Garg <94951050+KunalG-Zol@users.noreply.github.com> Date: Sat, 19 Apr 2025 02:00:59 +0530 Subject: [PATCH 07/10] fixed overwrite to true --- .github/workflows/build_wheels_linux.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_wheels_linux.yml b/.github/workflows/build_wheels_linux.yml index b34fad20..4dd2cb04 100644 --- a/.github/workflows/build_wheels_linux.yml +++ b/.github/workflows/build_wheels_linux.yml @@ -71,6 +71,7 @@ jobs: with: name: wheels path: wheelhouse/opencv*.whl + overwrite: true - name: Saving a wheel accordingly to matrix uses: actions/upload-artifact@v4 with: @@ -183,7 +184,7 @@ jobs: with: name: wheels path: dist/opencv*.tar.gz - overwrite: 'true' + overwrite: true Release_rolling: if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }} From fbc89638e43717628cdcc00661324ac7a1340177 Mon Sep 17 00:00:00 2001 From: Kunal Garg <94951050+KunalG-Zol@users.noreply.github.com> Date: Sat, 19 Apr 2025 02:04:38 +0530 Subject: [PATCH 08/10] fixed overwrite to true --- .github/workflows/build_wheels_linux.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build_wheels_linux.yml b/.github/workflows/build_wheels_linux.yml index 4dd2cb04..03003517 100644 --- a/.github/workflows/build_wheels_linux.yml +++ b/.github/workflows/build_wheels_linux.yml @@ -77,6 +77,7 @@ jobs: with: name: wheel-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }} path: wheelhouse/opencv*.whl + overwrite: true Test: needs: [Build] From c90debd53924a44fa01b9350a07b0976bcb8e406 Mon Sep 17 00:00:00 2001 From: Kunal Garg <94951050+KunalG-Zol@users.noreply.github.com> Date: Sat, 19 Apr 2025 02:07:55 +0530 Subject: [PATCH 09/10] fixed to change wheel name to run id --- .github/workflows/build_wheels_linux.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_wheels_linux.yml b/.github/workflows/build_wheels_linux.yml index 03003517..ccb7c223 100644 --- a/.github/workflows/build_wheels_linux.yml +++ b/.github/workflows/build_wheels_linux.yml @@ -69,7 +69,7 @@ jobs: - name: Saving all wheels uses: actions/upload-artifact@v4 with: - name: wheels + name: wheels-${{ github.run_id }} path: wheelhouse/opencv*.whl overwrite: true - name: Saving a wheel accordingly to matrix @@ -183,7 +183,7 @@ jobs: - name: saving artifacts uses: actions/upload-artifact@v4 with: - name: wheels + name: wheels-${{ github.run_id }} path: dist/opencv*.tar.gz overwrite: true From 2add56c6e12e0d6fa0d3164085a220cedf8c954e Mon Sep 17 00:00:00 2001 From: Kunal Garg <94951050+KunalG-Zol@users.noreply.github.com> Date: Sat, 19 Apr 2025 02:13:49 +0530 Subject: [PATCH 10/10] fixed to change wheel name 12 --- .github/workflows/build_wheels_linux.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_wheels_linux.yml b/.github/workflows/build_wheels_linux.yml index ccb7c223..b8e0ad67 100644 --- a/.github/workflows/build_wheels_linux.yml +++ b/.github/workflows/build_wheels_linux.yml @@ -69,7 +69,7 @@ jobs: - name: Saving all wheels uses: actions/upload-artifact@v4 with: - name: wheels-${{ github.run_id }} + name: wheels1 path: wheelhouse/opencv*.whl overwrite: true - name: Saving a wheel accordingly to matrix @@ -183,7 +183,7 @@ jobs: - name: saving artifacts uses: actions/upload-artifact@v4 with: - name: wheels-${{ github.run_id }} + name: wheels2 path: dist/opencv*.tar.gz overwrite: true