Skip to content

Commit b1ccbe9

Browse files
authored
Merge pull request #1914 from shimat/renovate/major-github-actions
Update GitHub Actions (major)
2 parents 9524045 + bb2da29 commit b1ccbe9

8 files changed

Lines changed: 41 additions & 41 deletions

File tree

.github/workflows/docfx.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v6
16+
uses: actions/checkout@v7
1717
with:
1818
fetch-depth: 1
1919

@@ -36,7 +36,7 @@ jobs:
3636
run: docfx docs/docfx/docfx.json
3737

3838
- name: Upload GitHub Pages artifact
39-
uses: actions/upload-pages-artifact@v4
39+
uses: actions/upload-pages-artifact@v5
4040
with:
4141
path: docs/docfx/_site
4242

@@ -52,4 +52,4 @@ jobs:
5252
steps:
5353
- name: Deploy to GitHub Pages
5454
id: deployment
55-
uses: actions/deploy-pages@v4
55+
uses: actions/deploy-pages@v5

.github/workflows/docker-deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,19 @@ jobs:
2727
exit 1
2828
fi
2929
30-
- uses: actions/checkout@v6
30+
- uses: actions/checkout@v7
3131
with:
3232
fetch-depth: 1
3333

3434
- name: Log into registry
35-
uses: docker/login-action@v3
35+
uses: docker/login-action@v4
3636
with:
3737
registry: ghcr.io
3838
username: ${{ github.actor }}
3939
password: ${{ secrets.GITHUB_TOKEN }}
4040

4141
- name: Build and push Docker image
42-
uses: docker/build-push-action@v6
42+
uses: docker/build-push-action@v7
4343
with:
4444
context: .
4545
file: docker/${{ env.DOCKER_IMAGE_NAME1 }}/Dockerfile

.github/workflows/docker-test-ubuntu.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ jobs:
1919
timeout-minutes: 60
2020

2121
steps:
22-
- uses: actions/checkout@v6
22+
- uses: actions/checkout@v7
2323

24-
- uses: docker/setup-buildx-action@v3
24+
- uses: docker/setup-buildx-action@v4
2525

2626
- name: Build with Docker (full)
27-
uses: docker/build-push-action@v6
27+
uses: docker/build-push-action@v7
2828
with:
2929
context: .
3030
file: ${{ env.DOCKER_BUILD_CONTEXT_FULL }}/Dockerfile
@@ -41,12 +41,12 @@ jobs:
4141
timeout-minutes: 60
4242

4343
steps:
44-
- uses: actions/checkout@v6
44+
- uses: actions/checkout@v7
4545

46-
- uses: docker/setup-buildx-action@v3
46+
- uses: docker/setup-buildx-action@v4
4747

4848
- name: Build with Docker (slim)
49-
uses: docker/build-push-action@v6
49+
uses: docker/build-push-action@v7
5050
with:
5151
context: .
5252
file: ${{ env.DOCKER_BUILD_CONTEXT_SLIM }}/Dockerfile

.github/workflows/linux-arm64.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-24.04-arm
1919

2020
steps:
21-
- uses: actions/checkout@v6
21+
- uses: actions/checkout@v7
2222
with:
2323
submodules: true
2424

@@ -146,7 +146,7 @@ jobs:
146146
147147
ls ${GITHUB_WORKSPACE}/artifacts_arm64
148148
149-
- uses: actions/upload-artifact@v6
149+
- uses: actions/upload-artifact@v7
150150
with:
151151
name: artifacts_linux_arm64
152152
path: artifacts_arm64

.github/workflows/manylinux.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
options: --user root
2626

2727
steps:
28-
- uses: actions/checkout@v6
28+
- uses: actions/checkout@v7
2929
with:
3030
submodules: true
3131

@@ -188,7 +188,7 @@ jobs:
188188
cmake --build src/build -j
189189
cp src/build/OpenCvSharpExtern/libOpenCvSharpExtern.so ${GITHUB_WORKSPACE}/libOpenCvSharpExtern.so
190190
191-
- uses: actions/upload-artifact@v6
191+
- uses: actions/upload-artifact@v7
192192
with:
193193
name: libOpenCvSharpExtern-full
194194
path: libOpenCvSharpExtern.so
@@ -205,7 +205,7 @@ jobs:
205205
options: --user root
206206

207207
steps:
208-
- uses: actions/checkout@v6
208+
- uses: actions/checkout@v7
209209
with:
210210
submodules: true
211211

@@ -275,7 +275,7 @@ jobs:
275275
cmake --build src/build-slim -j
276276
cp src/build-slim/OpenCvSharpExtern/libOpenCvSharpExtern.so ${GITHUB_WORKSPACE}/libOpenCvSharpExtern-slim.so
277277
278-
- uses: actions/upload-artifact@v6
278+
- uses: actions/upload-artifact@v7
279279
with:
280280
name: libOpenCvSharpExtern-slim
281281
path: libOpenCvSharpExtern-slim.so
@@ -289,18 +289,18 @@ jobs:
289289
runs-on: ubuntu-24.04
290290

291291
steps:
292-
- uses: actions/checkout@v6
292+
- uses: actions/checkout@v7
293293
with:
294294
submodules: false
295295

296296
- name: Download full artifact
297-
uses: actions/download-artifact@v6
297+
uses: actions/download-artifact@v8
298298
with:
299299
name: libOpenCvSharpExtern-full
300300
path: nuget/
301301

302302
- name: Download slim artifact
303-
uses: actions/download-artifact@v6
303+
uses: actions/download-artifact@v8
304304
with:
305305
name: libOpenCvSharpExtern-slim
306306
path: nuget-slim/
@@ -328,7 +328,7 @@ jobs:
328328
gcc -I./ -L./ test.c -o test -lOpenCvSharpExtern
329329
LD_LIBRARY_PATH=. ./test
330330
331-
- uses: actions/upload-artifact@v6
331+
- uses: actions/upload-artifact@v7
332332
with:
333333
name: test-results-manylinux
334334
path: test/OpenCvSharp.Tests/bin/Release/net10.0/test-results.trx
@@ -343,16 +343,16 @@ jobs:
343343
runs-on: ubuntu-24.04
344344

345345
steps:
346-
- uses: actions/checkout@v6
346+
- uses: actions/checkout@v7
347347

348348
- name: Download full artifact
349-
uses: actions/download-artifact@v6
349+
uses: actions/download-artifact@v8
350350
with:
351351
name: libOpenCvSharpExtern-full
352352
path: /tmp/so-full/
353353

354354
- name: Download slim artifact
355-
uses: actions/download-artifact@v6
355+
uses: actions/download-artifact@v8
356356
with:
357357
name: libOpenCvSharpExtern-slim
358358
path: /tmp/so-slim/
@@ -382,7 +382,7 @@ jobs:
382382
383383
ls ${GITHUB_WORKSPACE}/artifacts
384384
385-
- uses: actions/upload-artifact@v6
385+
- uses: actions/upload-artifact@v7
386386
with:
387387
name: nuget-packages-manylinux
388388
path: artifacts

.github/workflows/publish_nuget.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,26 @@ jobs:
88
runs-on: ubuntu-24.04
99

1010
steps:
11-
- uses: actions/checkout@v6
11+
- uses: actions/checkout@v7
1212

1313
- name: Download windows artifact
14-
uses: dawidd6/action-download-artifact@v19
14+
uses: dawidd6/action-download-artifact@v21
1515
with:
1616
github_token: ${{secrets.GITHUB_TOKEN}}
1717
workflow: windows.yml
1818
name: packages_windows
1919
branch: ${{ github.ref_name }}
2020

2121
- name: Download windows arm64 artifact
22-
uses: dawidd6/action-download-artifact@v19
22+
uses: dawidd6/action-download-artifact@v21
2323
with:
2424
github_token: ${{secrets.GITHUB_TOKEN}}
2525
workflow: windows.yml
2626
name: packages_windows_arm64
2727
branch: ${{ github.ref_name }}
2828

2929
- name: Download ubuntu arm64 artifact
30-
uses: dawidd6/action-download-artifact@v19
30+
uses: dawidd6/action-download-artifact@v21
3131
with:
3232
github_token: ${{secrets.GITHUB_TOKEN}}
3333
workflow: linux-arm64.yml
@@ -43,15 +43,15 @@ jobs:
4343
# branch: ${{ github.ref_name }}
4444

4545
- name: Download wasm artifact
46-
uses: dawidd6/action-download-artifact@v19
46+
uses: dawidd6/action-download-artifact@v21
4747
with:
4848
github_token: ${{secrets.GITHUB_TOKEN}}
4949
workflow: wasm.yml
5050
name: artifacts_wasm
5151
branch: ${{ github.ref_name }}
5252

5353
- name: Download manylinux artifact
54-
uses: dawidd6/action-download-artifact@v19
54+
uses: dawidd6/action-download-artifact@v21
5555
with:
5656
github_token: ${{secrets.GITHUB_TOKEN}}
5757
workflow: manylinux.yml
@@ -137,7 +137,7 @@ jobs:
137137
echo "**Total:** $(find . -maxdepth 1 -name '*.nupkg' | wc -l) nupkg, $(find . -maxdepth 1 -name '*.snupkg' | wc -l) snupkg" >> $GITHUB_STEP_SUMMARY
138138
139139
- name: Upload release packages
140-
uses: actions/upload-artifact@v6
140+
uses: actions/upload-artifact@v7
141141
with:
142142
name: release-packages
143143
path: |
@@ -152,7 +152,7 @@ jobs:
152152

153153
steps:
154154
- name: Download release packages
155-
uses: actions/download-artifact@v6
155+
uses: actions/download-artifact@v8
156156
with:
157157
name: release-packages
158158

.github/workflows/wasm.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-24.04
2020

2121
steps:
22-
- uses: actions/checkout@v6
22+
- uses: actions/checkout@v7
2323
with:
2424
fetch-depth: 1
2525

@@ -69,7 +69,7 @@ jobs:
6969
with:
7070
path: ${{env.EM_CACHE_FOLDER}}
7171
key: ${{env.EM_VERSION}}-${{ runner.os }}
72-
- uses: mymindstorm/setup-emsdk@v14
72+
- uses: mymindstorm/setup-emsdk@v16
7373
with:
7474
version: ${{env.EM_VERSION}}
7575
actions-cache-folder: ${{env.EM_CACHE_FOLDER}}
@@ -177,7 +177,7 @@ jobs:
177177
178178
ls ${GITHUB_WORKSPACE}/artifacts_wasm
179179
180-
- uses: actions/upload-artifact@v6
180+
- uses: actions/upload-artifact@v7
181181
with:
182182
name: artifacts_wasm
183183
path: artifacts_wasm

.github/workflows/windows.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323

2424
steps:
2525
- name: Checkout
26-
uses: actions/checkout@v6
26+
uses: actions/checkout@v7
2727
with:
2828
submodules: true
2929
fetch-depth: 1
@@ -249,7 +249,7 @@ jobs:
249249
dotnet run -c Release --runtime win-x64 -- "${env:GITHUB_WORKSPACE}" "${env:GITHUB_WORKSPACE}\artifacts" ${{env.OPENCV_VERSION}}
250250
251251
- name: Upload NuGet packages and Release packages
252-
uses: actions/upload-artifact@v6
252+
uses: actions/upload-artifact@v7
253253
with:
254254
name: packages_windows
255255
path: ${{ github.workspace }}\artifacts
@@ -260,7 +260,7 @@ jobs:
260260

261261
steps:
262262
- name: Checkout
263-
uses: actions/checkout@v6
263+
uses: actions/checkout@v7
264264
with:
265265
submodules: true
266266
fetch-depth: 1
@@ -412,7 +412,7 @@ jobs:
412412
dotnet pack nuget/OpenCvSharp4.runtime.win-arm64.slim.csproj -o artifacts -p:Version=$version
413413
414414
- name: Upload NuGet packages
415-
uses: actions/upload-artifact@v6
415+
uses: actions/upload-artifact@v7
416416
with:
417417
name: packages_windows_arm64
418418
path: ${{ github.workspace }}\artifacts

0 commit comments

Comments
 (0)