mirror of
https://github.com/GoodOlClint/PSProxmoxVE.git
synced 2026-07-26 07:58:14 +00:00
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:
@@ -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
|
||||||
|
|||||||
@@ -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/
|
||||||
|
|||||||
@@ -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/
|
||||||
|
|||||||
Reference in New Issue
Block a user