Skip to content

Commit 21663a4

Browse files
authored
Merge pull request #1245 from asmorkalov:as/standard_steps_update_4.x
Standard github actions stetps update.
2 parents 4ecc30f + fda955e commit 21663a4

4 files changed

Lines changed: 30 additions & 30 deletions

File tree

.github/workflows/build_wheels_macos.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
echo "ENABLE_ROLLING=1" >> $GITHUB_ENV
5656
fi
5757
- name: Checkout
58-
uses: actions/checkout@v3
58+
uses: actions/checkout@v7
5959
with:
6060
submodules: false
6161
fetch-depth: 0
@@ -69,7 +69,7 @@ jobs:
6969
python${{ matrix.python-version }} setup.py bdist_wheel --py-limited-api=cp37 --dist-dir=wheelhouse -v
7070
delocate-wheel ${{ github.workspace }}/wheelhouse/opencv*
7171
- name: Saving a wheel accordingly to matrix
72-
uses: actions/upload-artifact@v4
72+
uses: actions/upload-artifact@v7
7373
with:
7474
name: wheel-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }}
7575
path: wheelhouse/opencv*.whl
@@ -100,12 +100,12 @@ jobs:
100100
run: find . -mindepth 1 -delete
101101
working-directory: ${{ github.workspace }}
102102
- name: Checkout
103-
uses: actions/checkout@v3
103+
uses: actions/checkout@v7
104104
with:
105105
submodules: true
106106
fetch-depth: 0
107107
- name: Download a wheel accordingly to matrix
108-
uses: actions/download-artifact@v4
108+
uses: actions/download-artifact@v8
109109
with:
110110
name: wheel-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }}
111111
path: wheelhouse/
@@ -141,7 +141,7 @@ jobs:
141141
run:
142142
shell: bash
143143
steps:
144-
- uses: actions/download-artifact@v4
144+
- uses: actions/download-artifact@v8
145145
with:
146146
name: wheels
147147
path: wheelhouse/
@@ -171,7 +171,7 @@ jobs:
171171
run:
172172
shell: bash
173173
steps:
174-
- uses: actions/download-artifact@v4
174+
- uses: actions/download-artifact@v8
175175
with:
176176
path: wheelhouse/
177177
- name: Upload all wheels
@@ -189,7 +189,7 @@ jobs:
189189
run:
190190
shell: bash
191191
steps:
192-
- uses: actions/download-artifact@v4
192+
- uses: actions/download-artifact@v8
193193
with:
194194
path: wheelhouse/
195195
- name: Upload wheels for opencv_python

.github/workflows/build_wheels_macos_m1.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
echo "ENABLE_ROLLING=1" >> $GITHUB_ENV
4444
fi
4545
- name: Checkout
46-
uses: actions/checkout@v3
46+
uses: actions/checkout@v7
4747
with:
4848
submodules: false
4949
fetch-depth: 0
@@ -57,7 +57,7 @@ jobs:
5757
python${{ matrix.python-version }} setup.py bdist_wheel --py-limited-api=cp37 --dist-dir=wheelhouse -v
5858
delocate-wheel ${{ github.workspace }}/wheelhouse/opencv*
5959
- name: Saving a wheel accordingly to matrix
60-
uses: actions/upload-artifact@v4
60+
uses: actions/upload-artifact@v7
6161
with:
6262
name: wheel-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }}
6363
path: wheelhouse/opencv*.whl
@@ -82,12 +82,12 @@ jobs:
8282
run: find . -mindepth 1 -delete
8383
working-directory: ${{ github.workspace }}
8484
- name: Checkout
85-
uses: actions/checkout@v3
85+
uses: actions/checkout@v7
8686
with:
8787
submodules: true
8888
fetch-depth: 0
8989
- name: Download a wheel accordingly to matrix
90-
uses: actions/download-artifact@v4
90+
uses: actions/download-artifact@v8
9191
with:
9292
name: wheel-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }}
9393
path: wheelhouse/
@@ -123,7 +123,7 @@ jobs:
123123
run:
124124
shell: bash
125125
steps:
126-
- uses: actions/download-artifact@v4
126+
- uses: actions/download-artifact@v8
127127
with:
128128
name: wheels
129129
path: wheelhouse/
@@ -153,7 +153,7 @@ jobs:
153153
run:
154154
shell: bash
155155
steps:
156-
- uses: actions/download-artifact@v4
156+
- uses: actions/download-artifact@v8
157157
with:
158158
path: wheelhouse/
159159
- name: Upload all wheels
@@ -171,7 +171,7 @@ jobs:
171171
run:
172172
shell: bash
173173
steps:
174-
- uses: actions/download-artifact@v4
174+
- uses: actions/download-artifact@v8
175175
with:
176176
path: wheelhouse/
177177
- name: Upload wheels for opencv_python

.github/workflows/build_wheels_manylinux.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -71,15 +71,15 @@ jobs:
7171
echo "ENABLE_ROLLING=1" >> $GITHUB_ENV
7272
fi
7373
- name: Checkout
74-
uses: actions/checkout@v3
74+
uses: actions/checkout@v7
7575
with:
7676
submodules: false
7777
fetch-depth: 0
7878

7979
- name: Build a package
8080
run: source scripts/build.sh
8181
- name: Saving a wheel accordingly to matrix
82-
uses: actions/upload-artifact@v4
82+
uses: actions/upload-artifact@v7
8383
with:
8484
name: wheel-${{ matrix.platform }}-${{ matrix.manylinux }}-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }}
8585
path: wheelhouse/opencv*.whl
@@ -116,15 +116,15 @@ jobs:
116116
run: find . -mindepth 1 -delete
117117
working-directory: ${{ github.workspace }}
118118
- name: Checkout
119-
uses: actions/checkout@v3
119+
uses: actions/checkout@v7
120120
with:
121121
submodules: true
122122
fetch-depth: 0
123123

124124
- name: Setup Environment variables
125125
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
126126
- name: Download a wheel accordingly to matrix
127-
uses: actions/download-artifact@v4
127+
uses: actions/download-artifact@v8
128128
with:
129129
name: wheel-${{ matrix.platform }}-${{ matrix.manylinux }}-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }}
130130
path: wheelhouse/
@@ -171,7 +171,7 @@ jobs:
171171
echo "ENABLE_ROLLING=1" >> $GITHUB_ENV
172172
fi
173173
- name: Checkout
174-
uses: actions/checkout@v3
174+
uses: actions/checkout@v7
175175
with:
176176
submodules: false
177177
fetch-depth: 0
@@ -193,7 +193,7 @@ jobs:
193193
set -x
194194
echo "skipping tests because of sdist"
195195
- name: saving artifacts
196-
uses: actions/upload-artifact@v4
196+
uses: actions/upload-artifact@v7
197197
with:
198198
name: wheel-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }}
199199
path: dist/opencv*.tar.gz
@@ -207,7 +207,7 @@ jobs:
207207
run:
208208
shell: bash
209209
steps:
210-
- uses: actions/download-artifact@v4
210+
- uses: actions/download-artifact@v8
211211
with:
212212
path: wheelhouse/
213213

@@ -237,7 +237,7 @@ jobs:
237237
run:
238238
shell: bash
239239
steps:
240-
- uses: actions/download-artifact@v4
240+
- uses: actions/download-artifact@v8
241241
with:
242242
path: wheelhouse/
243243

@@ -256,7 +256,7 @@ jobs:
256256
run:
257257
shell: bash
258258
steps:
259-
- uses: actions/download-artifact@v4
259+
- uses: actions/download-artifact@v8
260260
with:
261261
path: wheelhouse/
262262
- name: Upload wheels for opencv_python

.github/workflows/build_wheels_windows.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
echo "ENABLE_ROLLING=1" >> $GITHUB_ENV
4747
fi
4848
- name: Checkout
49-
uses: actions/checkout@v4
49+
uses: actions/checkout@v7
5050
with:
5151
submodules: false
5252
fetch-depth: 0
@@ -70,7 +70,7 @@ jobs:
7070
set "CI_BUILD=1" && python setup.py bdist_wheel --py-limited-api=cp37 --dist-dir=%cd%\wheelhouse -v
7171
shell: cmd
7272
- name: Saving all wheels
73-
uses: actions/upload-artifact@v4
73+
uses: actions/upload-artifact@v7
7474
with:
7575
name: wheel-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }}-${{ matrix.platform }}
7676
path: wheelhouse/opencv*
@@ -102,7 +102,7 @@ jobs:
102102
rm -rf ./.??* || true
103103
working-directory: ${{ github.workspace }}
104104
- name: Checkout
105-
uses: actions/checkout@v4
105+
uses: actions/checkout@v7
106106
with:
107107
submodules: true
108108
fetch-depth: 0
@@ -112,7 +112,7 @@ jobs:
112112
python-version: ${{ matrix.python-version }}
113113
architecture: ${{ matrix.platform }}
114114
- name: Download a wheel accordingly to matrix
115-
uses: actions/download-artifact@v4
115+
uses: actions/download-artifact@v8
116116
with:
117117
name: wheel-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }}-${{ matrix.platform }}
118118
path: wheelhouse/
@@ -142,7 +142,7 @@ jobs:
142142
run:
143143
shell: bash
144144
steps:
145-
- uses: actions/download-artifact@v4
145+
- uses: actions/download-artifact@v8
146146
with:
147147
path: wheelhouse/
148148
- name: Upload wheels for opencv_python_rolling
@@ -171,7 +171,7 @@ jobs:
171171
run:
172172
shell: bash
173173
steps:
174-
- uses: actions/download-artifact@v4
174+
- uses: actions/download-artifact@v8
175175
with:
176176
path: wheelhouse/
177177
- name: Upload all wheels
@@ -188,7 +188,7 @@ jobs:
188188
run:
189189
shell: bash
190190
steps:
191-
- uses: actions/download-artifact@v4
191+
- uses: actions/download-artifact@v8
192192
with:
193193
path: wheelhouse/
194194
- name: Upload wheels for opencv_python

0 commit comments

Comments
 (0)