chore(ci): upgrade artifact actions from v4 to v6 to fix Node.js 20 deprecation warning

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Clint Branham
2026-03-19 10:10:37 -05:00
parent cc344a3070
commit 34efe03fea
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -28,7 +28,7 @@ jobs:
run: dotnet test tests/PSProxmoxVE.Core.Tests/PSProxmoxVE.Core.Tests.csproj --configuration Release --framework net48 --no-build --verbosity normal --collect:"XPlat Code Coverage" --results-directory ./coverage run: dotnet test tests/PSProxmoxVE.Core.Tests/PSProxmoxVE.Core.Tests.csproj --configuration Release --framework net48 --no-build --verbosity normal --collect:"XPlat Code Coverage" --results-directory ./coverage
- name: Upload coverage - name: Upload coverage
if: always() if: always()
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v6
with: with:
name: coverage-net48 name: coverage-net48
path: ./coverage path: ./coverage
@@ -53,7 +53,7 @@ jobs:
run: dotnet test tests/PSProxmoxVE.Core.Tests/PSProxmoxVE.Core.Tests.csproj --configuration Release --framework net9.0 --no-build --verbosity normal --collect:"XPlat Code Coverage" --results-directory ./coverage run: dotnet test tests/PSProxmoxVE.Core.Tests/PSProxmoxVE.Core.Tests.csproj --configuration Release --framework net9.0 --no-build --verbosity normal --collect:"XPlat Code Coverage" --results-directory ./coverage
- name: Upload coverage - name: Upload coverage
if: always() if: always()
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v6
with: with:
name: coverage-net9-${{ matrix.os }} name: coverage-net9-${{ matrix.os }}
path: ./coverage path: ./coverage
+1 -1
View File
@@ -220,7 +220,7 @@ jobs:
- name: Upload test results - name: Upload test results
if: always() if: always()
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v6
with: with:
name: integration-test-results name: integration-test-results
path: TestResults/ path: TestResults/
+3 -3
View File
@@ -38,7 +38,7 @@ jobs:
run: rm -f ./publish/${{ matrix.framework }}/*.deps.json ./publish/${{ matrix.framework }}/*.runtimeconfig.json run: rm -f ./publish/${{ matrix.framework }}/*.deps.json ./publish/${{ matrix.framework }}/*.runtimeconfig.json
- name: Upload module artifact - name: Upload module artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v6
with: with:
name: module-${{ matrix.framework }}-${{ matrix.os }} name: module-${{ matrix.framework }}-${{ matrix.os }}
path: ./publish/${{ matrix.framework }}/ path: ./publish/${{ matrix.framework }}/
@@ -78,7 +78,7 @@ jobs:
- uses: actions/checkout@v5 - uses: actions/checkout@v5
- name: Download module artifact - name: Download module artifact
uses: actions/download-artifact@v4 uses: actions/download-artifact@v6
with: with:
name: module-${{ matrix.framework }}-${{ matrix.artifact_os }} name: module-${{ matrix.framework }}-${{ matrix.artifact_os }}
path: ./publish/${{ matrix.framework }}/ path: ./publish/${{ matrix.framework }}/
@@ -151,7 +151,7 @@ jobs:
- name: Upload test results - name: Upload test results
if: always() if: always()
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v6
with: with:
name: pester-results-${{ matrix.os }}-ps${{ matrix.ps_version }} name: pester-results-${{ matrix.os }}-ps${{ matrix.ps_version }}
path: TestResults/ path: TestResults/