3636 env :
3737 ModuleVersion : ${{ env.gitVersion.NuGetVersionV2 }}
3838 - name : Publish Build Artifact
39- uses : actions/upload-artifact@v3
39+ uses : actions/upload-artifact@v4
4040 with :
4141 name : ${{ env.buildArtifactName }}
4242 path : ${{ env.buildFolderName }}/
@@ -53,15 +53,15 @@ jobs:
5353 repository : ${{github.event.pull_request.head.repo.full_name}} # checkout the correct branch name
5454 fetch-depth : 0
5555 - name : Download Build Artifact
56- uses : actions/download-artifact@v3
56+ uses : actions/download-artifact@v4
5757 with :
5858 name : ${{ env.buildArtifactName }}
5959 path : ${{ env.buildFolderName }}
6060 - name : Run Tests
6161 shell : pwsh
6262 run : ./build.ps1 -tasks noop ; ./build.ps1 -tasks test # to get around dbatools failing to load XE.core.dll if
6363 - name : Publish Test Artifact
64- uses : actions/upload-artifact@v3
64+ uses : actions/upload-artifact@v4
6565 with :
6666 path : ${{ env.buildFolderName }}/${{ env.testResultFolderName }}/
6767 name : CodeCoverageLinux
7979 repository : ${{github.event.pull_request.head.repo.full_name}} # checkout the correct branch name
8080 fetch-depth : 0
8181 - name : Download Build Artifact
82- uses : actions/download-artifact@v3
82+ uses : actions/download-artifact@v4
8383 with :
8484 name : ${{ env.buildArtifactName }}
8585 path : ${{ env.buildFolderName }}
8888 run : ./build.ps1 -tasks noop; ipmo dbatools ; ./build.ps1 -tasks test # to get around dbatools failing to load XE.core.dll if
8989
9090 - name : Publish Test Artifact
91- uses : actions/upload-artifact@v3
91+ uses : actions/upload-artifact@v4
9292 with :
9393 path : ${{ env.buildFolderName }}/${{ env.testResultFolderName }}/
9494 name : CodeCoverageWinPS7
@@ -106,15 +106,15 @@ jobs:
106106 repository : ${{github.event.pull_request.head.repo.full_name}} # checkout the correct branch name
107107 fetch-depth : 0
108108 - name : Download Build Artifact
109- uses : actions/download-artifact@v3
109+ uses : actions/download-artifact@v4
110110 with :
111111 name : ${{ env.buildArtifactName }}
112112 path : ${{ env.buildFolderName }}
113113 - name : Run Tests
114114 shell : pwsh
115115 run : ./build.ps1 -ResolveDependency -tasks test
116116 - name : Publish Test Artifact
117- uses : actions/upload-artifact@v3
117+ uses : actions/upload-artifact@v4
118118 with :
119119 path : ${{ env.buildFolderName }}/${{ env.testResultFolderName }}/
120120 name : CodeCoverageWinPS51
@@ -137,17 +137,17 @@ jobs:
137137 fetch-depth : 0
138138
139139 - name : Download Test Artifact Linux
140- uses : actions/download-artifact@v3
140+ uses : actions/download-artifact@v4
141141 with :
142142 name : CodeCoverageLinux
143143 path : ${{ env.buildFolderName }}/${{ env.testResultFolderName }}/CodeCoverageLinux/
144144 - name : Download Test Artifact Windows (PS 5.1)
145- uses : actions/download-artifact@v3
145+ uses : actions/download-artifact@v4
146146 with :
147147 name : CodeCoverageWinPS51
148148 path : ${{ env.buildFolderName }}/${{ env.testResultFolderName }}/CodeCoverageWinPS51/
149149 - name : Download Test Artifact Windows (PS7)
150- uses : actions/download-artifact@v3
150+ uses : actions/download-artifact@v4
151151 with :
152152 name : CodeCoverageWinPS7
153153 path : ${{ env.buildFolderName }}/${{ env.testResultFolderName }}/CodeCoverageWinPS7/
@@ -172,4 +172,4 @@ jobs:
172172 if : always()
173173 with :
174174 nunit_files : ${{ env.buildFolderName }}/${{ env.testResultFolderName }}/CodeCoverageWinPS7/NUnit*.xml
175- check_name : WinPS71 Test Results
175+ check_name : WinPS71 Test Results
0 commit comments