Skip to content

Commit 8cf8bfc

Browse files
committed
Update GitHub Actions to latest versions
Updated `actions/upload-artifact` to v5 and `actions/download-artifact` to v6 across multiple workflow steps to ensure compatibility, security, and improved functionality. Artifact names and paths remain unchanged. No modifications were made to the `actions/checkout` action or workflow logic.
1 parent b9e72c3 commit 8cf8bfc

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ jobs:
291291
292292
Write-Output "-------------------------------------------"
293293
Write-Output "::endgroup::"
294-
- uses: actions/upload-artifact@v4
294+
- uses: actions/upload-artifact@v5
295295
with:
296296
name: AzureDevOpsMigrationTools-Scripts
297297
path: ./build/**
@@ -441,11 +441,11 @@ jobs:
441441
if: ${{ steps.Build.outcome == 'success' }}
442442
run: |
443443
Get-ChildItem -Path ./staging/ -Recurse | ForEach-Object { $_.FullName }
444-
- uses: actions/upload-artifact@v4
444+
- uses: actions/upload-artifact@v5
445445
with:
446446
name: AzureDevOpsMigrationTools-Packages
447447
path: ./staging/**
448-
- uses: actions/upload-artifact@v4
448+
- uses: actions/upload-artifact@v5
449449
with:
450450
name: AzureDevOpsMigrationTools-Generated
451451
path: ./docs/Reference/Generated/**
@@ -487,7 +487,7 @@ jobs:
487487
$configFiles = "hugo.yaml,hugo.$environment.yaml"
488488
Write-Host "Using config files: $configFiles"
489489
hugo --source docs --config $configFiles --logLevel debug;
490-
- uses: actions/upload-artifact@v4
490+
- uses: actions/upload-artifact@v5
491491
with:
492492
name: AzureDevOpsMigrationTools-Site2
493493
path: ./public/**/*
@@ -507,10 +507,10 @@ jobs:
507507
# Release app when RunRelease is true (ForceRelease OR src changed)
508508
if: ${{ success() && needs.Setup.outputs.nkdAgility_RunRelease == 'true' }}
509509
steps:
510-
- uses: actions/download-artifact@v4
510+
- uses: actions/download-artifact@v6
511511
with:
512512
name: AzureDevOpsMigrationTools-Packages
513-
- uses: actions/download-artifact@v4
513+
- uses: actions/download-artifact@v6
514514
with:
515515
name: AzureDevOpsMigrationTools-Scripts
516516
path: ./build/
@@ -592,7 +592,7 @@ jobs:
592592
steps:
593593
- name: Checkout
594594
uses: actions/checkout@v4
595-
- uses: actions/download-artifact@v4
595+
- uses: actions/download-artifact@v6
596596
- name: "Find files"
597597
shell: pwsh
598598
run: |
@@ -619,7 +619,7 @@ jobs:
619619
# Only when app was released
620620
if: ${{ success() && needs.Setup.outputs.nkdAgility_RunRelease == 'true' }}
621621
steps:
622-
- uses: actions/download-artifact@v4
622+
- uses: actions/download-artifact@v6
623623
with:
624624
name: AzureDevOpsMigrationTools-Packages
625625
- name: "Choco"
@@ -645,7 +645,7 @@ jobs:
645645
steps:
646646
- name: Checkout
647647
uses: actions/checkout@v4
648-
- uses: actions/download-artifact@v4
648+
- uses: actions/download-artifact@v6
649649
- name: "Find files"
650650
shell: pwsh
651651
run: |
@@ -666,7 +666,7 @@ jobs:
666666
if: ${{ !(github.event.pull_request.head.repo.fork) }}
667667
steps:
668668
- name: Download a single artifact
669-
uses: actions/download-artifact@v4
669+
uses: actions/download-artifact@v6
670670
with:
671671
name: AzureDevOpsMigrationTools-Site2
672672
path: ./_site2

0 commit comments

Comments
 (0)