@@ -38,14 +38,14 @@ jobs:
3838 | jq -r '.tag_name' | tee latest-release.txt
3939 echo "tag=$(cat latest-release.txt)" >> $GITHUB_OUTPUT
4040
41- - uses : actions/checkout@v3
41+ - uses : actions/checkout@main
4242 with :
4343 repository : opencv/opencv
4444 ref : ${{ steps.latest-release.outputs.tag }}
4545
46- - uses : mozilla-actions/sccache-action@v0.0.3
46+ - uses : mozilla-actions/sccache-action@main
4747
48- - uses : ilammy/msvc-dev-cmd@v1
48+ - uses : ilammy/msvc-dev-cmd@main
4949 id : msvc-env
5050 if : startsWith(matrix.os, 'windows')
5151
8383
8484 cmake --build . --target install --parallel 4
8585
86- - uses : actions/upload-artifact@v3
86+ - uses : actions/upload-artifact@main
8787 with :
8888 name : opencv-${{ matrix.os }}
8989 path : ./opencv
@@ -113,18 +113,18 @@ jobs:
113113 runs-on : ${{ matrix.os }}
114114
115115 steps :
116- - uses : actions/checkout@v3
116+ - uses : actions/checkout@main
117117
118- - uses : actions/download-artifact@v3
118+ - uses : actions/download-artifact@main
119119 with :
120120 name : opencv-${{ matrix.os }}
121121 path : ./opencv
122122
123- - uses : actions/setup-python@v4
123+ - uses : actions/setup-python@main
124124 with :
125125 python-version : ${{ matrix.python }}
126126
127- - uses : ilammy/msvc-dev-cmd@v1
127+ - uses : ilammy/msvc-dev-cmd@main
128128 id : msvc-env
129129 if : startsWith(matrix.os, 'windows')
130130
@@ -148,7 +148,7 @@ jobs:
148148 pip install poetry
149149 poetry build --format wheel
150150
151- - uses : actions/upload-artifact@v3
151+ - uses : actions/upload-artifact@main
152152 with :
153153 name : wheel-${{matrix.os}}-${{matrix.python}}
154154 path : ./dist/*.whl
@@ -185,15 +185,15 @@ jobs:
185185 runs-on : ${{ matrix.os }}
186186
187187 steps :
188- - uses : actions/checkout@v3
188+ - uses : actions/checkout@main
189189
190190 - name : Download wheel
191- uses : actions/download-artifact@v3
191+ uses : actions/download-artifact@main
192192 with :
193193 name : wheel-${{matrix.os}}-${{matrix.python}}
194194 path : ./dist
195195
196- - uses : actions/setup-python@v4
196+ - uses : actions/setup-python@main
197197 with :
198198 python-version : ${{ matrix.python }}
199199
@@ -216,18 +216,18 @@ jobs:
216216 needs : [build, test]
217217
218218 steps :
219- - uses : geekyeggo/delete-artifact@v2
219+ - uses : geekyeggo/delete-artifact@main
220220 with :
221221 name : opencv-*
222222
223- - uses : actions/download-artifact@v3
223+ - uses : actions/download-artifact@main
224224
225225 - name : Merge wheels
226226 run : |
227227 mkdir dist
228228 cp -v wheel-*/*.whl dist/
229229
230- - uses : actions/upload-artifact@v3
230+ - uses : actions/upload-artifact@main
231231 with :
232232 name : wheel-all
233233 path : ./dist/*.whl
@@ -239,9 +239,9 @@ jobs:
239239 runs-on : ubuntu-latest
240240
241241 steps :
242- - uses : actions/checkout@v3
242+ - uses : actions/checkout@main
243243
244- - uses : actions/download-artifact@v3
244+ - uses : actions/download-artifact@main
245245 with :
246246 name : wheel-all
247247 path : ./dist
0 commit comments