3737 env :
3838 ModuleVersion : ${{ env.gitVersion.NuGetVersionV2 }}
3939 - name : Publish Build Artifact
40- uses : actions/upload-artifact@v3
40+ uses : actions/upload-artifact@v4
4141 with :
4242 name : ${{ env.buildArtifactName }}
4343 path : ${{ env.buildFolderName }}/
@@ -53,15 +53,15 @@ jobs:
5353 ref : ${{ github.head_ref }} # 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; ipmo dbatools ; ./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
7878 ref : ${{ github.head_ref }} # checkout the correct branch name
7979 fetch-depth : 0
8080 - name : Download Build Artifact
81- uses : actions/download-artifact@v3
81+ uses : actions/download-artifact@v4
8282 with :
8383 name : ${{ env.buildArtifactName }}
8484 path : ${{ env.buildFolderName }}
8787 run : ./build.ps1 -tasks noop; ipmo dbatools ; ./build.ps1 -tasks test # to get around dbatools failing to load XE.core.dll if
8888
8989 - name : Publish Test Artifact
90- uses : actions/upload-artifact@v3
90+ uses : actions/upload-artifact@v4
9191 with :
9292 path : ${{ env.buildFolderName }}/${{ env.testResultFolderName }}/
9393 name : CodeCoverageWinPS7
@@ -104,15 +104,15 @@ jobs:
104104 ref : ${{ github.head_ref }} # checkout the correct branch name
105105 fetch-depth : 0
106106 - name : Download Build Artifact
107- uses : actions/download-artifact@v3
107+ uses : actions/download-artifact@v4
108108 with :
109109 name : ${{ env.buildArtifactName }}
110110 path : ${{ env.buildFolderName }}
111111 - name : Run Tests
112112 shell : pwsh
113113 run : ./build.ps1 -ResolveDependency -tasks test
114114 - name : Publish Test Artifact
115- uses : actions/upload-artifact@v3
115+ uses : actions/upload-artifact@v4
116116 with :
117117 path : ${{ env.buildFolderName }}/${{ env.testResultFolderName }}/
118118 name : CodeCoverageWinPS51
@@ -129,7 +129,7 @@ jobs:
129129# ref: ${{ github.head_ref }} # checkout the correct branch name
130130# fetch-depth: 0
131131# - name: Download Build Artifact
132- # uses: actions/download-artifact@v3
132+ # uses: actions/download-artifact@v4
133133# with:
134134# name: ${{ env.buildArtifactName }}
135135# path: ${{ env.buildFolderName }}
@@ -138,7 +138,7 @@ jobs:
138138# run: ./build.ps1 -tasks noop; ipmo dbatools ; ./build.ps1 -tasks test # to get # around dbatools failing to load XE.core.dll if
139139#
140140# - name: Publish Test Artifact
141- # uses: actions/upload-artifact@v3
141+ # uses: actions/upload-artifact@v4
142142# with:
143143# path: ${{ env.buildFolderName }}/${{ env.testResultFolderName }}/
144144# name: CodeCoverageMacOS
@@ -160,22 +160,22 @@ jobs:
160160 ref : ${{ github.head_ref }} # checkout the correct branch name
161161 fetch-depth : 0
162162# - name: Download Test Artifact macOS
163- # uses: actions/download-artifact@v3
163+ # uses: actions/download-artifact@v4
164164# with:
165165# name: CodeCoverageMacOS
166166# path: ${{ env.buildFolderName }}/${{ env.testResultFolderName }}/CodeCoverageMacOS/
167167 - name : Download Test Artifact Linux
168- uses : actions/download-artifact@v3
168+ uses : actions/download-artifact@v4
169169 with :
170170 name : CodeCoverageLinux
171171 path : ${{ env.buildFolderName }}/${{ env.testResultFolderName }}/CodeCoverageLinux/
172172 - name : Download Test Artifact Windows (PS 5.1)
173- uses : actions/download-artifact@v3
173+ uses : actions/download-artifact@v4
174174 with :
175175 name : CodeCoverageWinPS51
176176 path : ${{ env.buildFolderName }}/${{ env.testResultFolderName }}/CodeCoverageWinPS51/
177177 - name : Download Test Artifact Windows (PS7)
178- uses : actions/download-artifact@v3
178+ uses : actions/download-artifact@v4
179179 with :
180180 name : CodeCoverageWinPS7
181181 path : ${{ env.buildFolderName }}/${{ env.testResultFolderName }}/CodeCoverageWinPS7/
@@ -349,7 +349,7 @@ jobs:
349349 ref : ${{ github.head_ref }} # checkout the correct branch name
350350 fetch-depth : 0
351351 - name : Download Build Artifact
352- uses : actions/download-artifact@v3
352+ uses : actions/download-artifact@v4
353353 with :
354354 name : ${{ env.buildArtifactName }}
355355 path : ${{ env.buildFolderName }}
0 commit comments