Skip to content

Commit 5c7e238

Browse files
Update GitHub Artifact Actions (#182)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 0fc0496 commit 5c7e238

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

.github/workflows/main.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
shell: pwsh
6363
run: if (!(Test-Path -LiteralPath 'artifacts/libtdjson.so')) { throw 'File not found' }
6464
- name: Upload build result
65-
uses: actions/upload-artifact@v5
65+
uses: actions/upload-artifact@v6
6666
with:
6767
name: tdlib.native.ubuntu-22.04.x86-64
6868
path: artifacts/*
@@ -94,7 +94,7 @@ jobs:
9494
shell: pwsh
9595
run: if (!(Test-Path -LiteralPath 'artifacts/libtdjson.so')) { throw 'File not found' }
9696
- name: Upload build result
97-
uses: actions/upload-artifact@v5
97+
uses: actions/upload-artifact@v6
9898
with:
9999
name: tdlib.native.ubuntu-22.04.aarch64
100100
path: artifacts/*
@@ -126,7 +126,7 @@ jobs:
126126
shell: pwsh
127127
run: if (!(Test-Path -LiteralPath 'artifacts/libtdjson.dylib')) { throw 'File not found' }
128128
- name: Upload build result
129-
uses: actions/upload-artifact@v5
129+
uses: actions/upload-artifact@v6
130130
with:
131131
name: tdlib.native.macos.aarch64
132132
path: artifacts/*
@@ -158,7 +158,7 @@ jobs:
158158
shell: pwsh
159159
run: if (!(Test-Path -LiteralPath 'artifacts/libtdjson.dylib')) { throw 'File not found' }
160160
- name: Upload build result
161-
uses: actions/upload-artifact@v5
161+
uses: actions/upload-artifact@v6
162162
with:
163163
name: tdlib.native.macos.x86-64
164164
path: artifacts/*
@@ -187,7 +187,7 @@ jobs:
187187
shell: pwsh
188188
run: if (!(Test-Path -LiteralPath 'artifacts/tdjson.dll')) { throw 'File not found' }
189189
- name: Upload build result
190-
uses: actions/upload-artifact@v5
190+
uses: actions/upload-artifact@v6
191191
with:
192192
name: tdlib.native.windows.x86-64
193193
path: artifacts/*
@@ -216,7 +216,7 @@ jobs:
216216
shell: pwsh
217217
run: if (!(Test-Path -LiteralPath 'artifacts/tdjson.dll')) { throw 'File not found' }
218218
- name: Upload build result
219-
uses: actions/upload-artifact@v5
219+
uses: actions/upload-artifact@v6
220220
with:
221221
name: tdlib.native.windows.aarch64
222222
path: artifacts/*
@@ -237,7 +237,7 @@ jobs:
237237
shell: pwsh
238238
run: ./linux/install.ps1 -ForTests
239239
- name: 'Download artifact: ubuntu-22.04.x86-64'
240-
uses: actions/download-artifact@v6
240+
uses: actions/download-artifact@v7
241241
with:
242242
name: tdlib.native.ubuntu-22.04.x86-64
243243
path: build/tdlib.native.linux-x64/runtimes/linux-x64/native
@@ -278,7 +278,7 @@ jobs:
278278
shell: pwsh
279279
run: ./linux/install.ps1 -ForTests
280280
- name: 'Download artifact: ubuntu-22.04.aarch64'
281-
uses: actions/download-artifact@v6
281+
uses: actions/download-artifact@v7
282282
with:
283283
name: tdlib.native.ubuntu-22.04.aarch64
284284
path: build/tdlib.native.linux-arm64/runtimes/linux-arm64/native
@@ -316,7 +316,7 @@ jobs:
316316
with:
317317
submodules: true
318318
- name: 'Download artifact: macos.aarch64'
319-
uses: actions/download-artifact@v6
319+
uses: actions/download-artifact@v7
320320
with:
321321
name: tdlib.native.macos.aarch64
322322
path: build/tdlib.native.osx-arm64/runtimes/osx-arm64/native
@@ -354,7 +354,7 @@ jobs:
354354
with:
355355
submodules: true
356356
- name: 'Download artifact: macos.x86-64'
357-
uses: actions/download-artifact@v6
357+
uses: actions/download-artifact@v7
358358
with:
359359
name: tdlib.native.macos.x86-64
360360
path: build/tdlib.native.osx-x64/runtimes/osx-x64/native
@@ -392,7 +392,7 @@ jobs:
392392
with:
393393
submodules: true
394394
- name: 'Download artifact: windows.x86-64'
395-
uses: actions/download-artifact@v6
395+
uses: actions/download-artifact@v7
396396
with:
397397
name: tdlib.native.windows.x86-64
398398
path: build/tdlib.native.win-x64/runtimes/win-x64/native
@@ -438,7 +438,7 @@ jobs:
438438
with:
439439
submodules: true
440440
- name: 'Download artifact: windows.aarch64'
441-
uses: actions/download-artifact@v6
441+
uses: actions/download-artifact@v7
442442
with:
443443
name: tdlib.native.windows.aarch64
444444
path: build/tdlib.native.win-arm64/runtimes/win-arm64/native
@@ -486,47 +486,47 @@ jobs:
486486
steps:
487487
- uses: actions/checkout@v6
488488
- name: 'Download artifact: macos.aarch64'
489-
uses: actions/download-artifact@v6
489+
uses: actions/download-artifact@v7
490490
with:
491491
name: tdlib.native.macos.aarch64
492492
path: build/tdlib.native.osx-arm64/runtimes/osx-arm64/native
493493
- name: 'Archive artifact for platform: macos.aarch64'
494494
shell: pwsh
495495
run: Set-Location build/tdlib.native.osx-arm64/runtimes/osx-arm64/native && zip -r $env:GITHUB_WORKSPACE/tdlib.native.macos.aarch64.zip *
496496
- name: 'Download artifact: macos.x86-64'
497-
uses: actions/download-artifact@v6
497+
uses: actions/download-artifact@v7
498498
with:
499499
name: tdlib.native.macos.x86-64
500500
path: build/tdlib.native.osx-x64/runtimes/osx-x64/native
501501
- name: 'Archive artifact for platform: macos.x86-64'
502502
shell: pwsh
503503
run: Set-Location build/tdlib.native.osx-x64/runtimes/osx-x64/native && zip -r $env:GITHUB_WORKSPACE/tdlib.native.macos.x86-64.zip *
504504
- name: 'Download artifact: ubuntu-22.04.aarch64'
505-
uses: actions/download-artifact@v6
505+
uses: actions/download-artifact@v7
506506
with:
507507
name: tdlib.native.ubuntu-22.04.aarch64
508508
path: build/tdlib.native.linux-arm64/runtimes/linux-arm64/native
509509
- name: 'Archive artifact for platform: ubuntu-22.04.aarch64'
510510
shell: pwsh
511511
run: Set-Location build/tdlib.native.linux-arm64/runtimes/linux-arm64/native && zip -r $env:GITHUB_WORKSPACE/tdlib.native.ubuntu-22.04.aarch64.zip *
512512
- name: 'Download artifact: ubuntu-22.04.x86-64'
513-
uses: actions/download-artifact@v6
513+
uses: actions/download-artifact@v7
514514
with:
515515
name: tdlib.native.ubuntu-22.04.x86-64
516516
path: build/tdlib.native.linux-x64/runtimes/linux-x64/native
517517
- name: 'Archive artifact for platform: ubuntu-22.04.x86-64'
518518
shell: pwsh
519519
run: Set-Location build/tdlib.native.linux-x64/runtimes/linux-x64/native && zip -r $env:GITHUB_WORKSPACE/tdlib.native.ubuntu-22.04.x86-64.zip *
520520
- name: 'Download artifact: windows.aarch64'
521-
uses: actions/download-artifact@v6
521+
uses: actions/download-artifact@v7
522522
with:
523523
name: tdlib.native.windows.aarch64
524524
path: build/tdlib.native.win-arm64/runtimes/win-arm64/native
525525
- name: 'Archive artifact for platform: windows.aarch64'
526526
shell: pwsh
527527
run: Set-Location build/tdlib.native.win-arm64/runtimes/win-arm64/native && zip -r $env:GITHUB_WORKSPACE/tdlib.native.windows.aarch64.zip *
528528
- name: 'Download artifact: windows.x86-64'
529-
uses: actions/download-artifact@v6
529+
uses: actions/download-artifact@v7
530530
with:
531531
name: tdlib.native.windows.x86-64
532532
path: build/tdlib.native.win-x64/runtimes/win-x64/native
@@ -570,7 +570,7 @@ jobs:
570570
shell: pwsh
571571
run: dotnet pack tdlib.native.proj -p:Version=${{ steps.version.outputs.version }} --output build
572572
- name: Upload NuGet packages
573-
uses: actions/upload-artifact@v5
573+
uses: actions/upload-artifact@v6
574574
with:
575575
name: tdlib.nuget
576576
path: ./build/*.nupkg

0 commit comments

Comments
 (0)