Skip to content

Commit b83046c

Browse files
authored
Merge pull request #1241 from asmorkalov:as/standard_steps_update
Standard github actions stetps update.
2 parents c8c45fa + bb9a3c9 commit b83046c

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
@@ -117,7 +117,7 @@ jobs:
117117
run: find . -mindepth 1 -delete
118118
working-directory: ${{ github.workspace }}
119119
- name: Checkout
120-
uses: actions/checkout@v3
120+
uses: actions/checkout@v7
121121
with:
122122
submodules: true
123123
fetch-depth: 0
@@ -134,7 +134,7 @@ jobs:
134134
echo "TEST_DEPENDS=$(echo $NP_TEST_DEP_LATEST)" >> $GITHUB_ENV
135135
fi
136136
- name: Download a wheel accordingly to matrix
137-
uses: actions/download-artifact@v4
137+
uses: actions/download-artifact@v8
138138
with:
139139
name: wheel-${{ matrix.platform }}-${{ matrix.manylinux }}-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }}
140140
path: wheelhouse/
@@ -181,7 +181,7 @@ jobs:
181181
echo "ENABLE_ROLLING=1" >> $GITHUB_ENV
182182
fi
183183
- name: Checkout
184-
uses: actions/checkout@v3
184+
uses: actions/checkout@v7
185185
with:
186186
submodules: false
187187
fetch-depth: 0
@@ -203,7 +203,7 @@ jobs:
203203
set -x
204204
echo "skipping tests because of sdist"
205205
- name: saving artifacts
206-
uses: actions/upload-artifact@v4
206+
uses: actions/upload-artifact@v7
207207
with:
208208
name: wheel-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }}
209209
path: dist/opencv*.tar.gz
@@ -217,7 +217,7 @@ jobs:
217217
run:
218218
shell: bash
219219
steps:
220-
- uses: actions/download-artifact@v4
220+
- uses: actions/download-artifact@v8
221221
with:
222222
path: wheelhouse/
223223

@@ -247,7 +247,7 @@ jobs:
247247
run:
248248
shell: bash
249249
steps:
250-
- uses: actions/download-artifact@v4
250+
- uses: actions/download-artifact@v8
251251
with:
252252
path: wheelhouse/
253253

@@ -266,7 +266,7 @@ jobs:
266266
run:
267267
shell: bash
268268
steps:
269-
- uses: actions/download-artifact@v4
269+
- uses: actions/download-artifact@v8
270270
with:
271271
path: wheelhouse/
272272
- 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)