37
37
env :
38
38
ModuleVersion : ${{ env.gitVersion.NuGetVersionV2 }}
39
39
- name : Publish Build Artifact
40
- uses : actions/upload-artifact@v3
40
+ uses : actions/upload-artifact@v4
41
41
with :
42
42
name : ${{ env.buildArtifactName }}
43
43
path : ${{ env.buildFolderName }}/
@@ -53,15 +53,15 @@ jobs:
53
53
ref : ${{ github.head_ref }} # checkout the correct branch name
54
54
fetch-depth : 0
55
55
- name : Download Build Artifact
56
- uses : actions/download-artifact@v3
56
+ uses : actions/download-artifact@v4
57
57
with :
58
58
name : ${{ env.buildArtifactName }}
59
59
path : ${{ env.buildFolderName }}
60
60
- name : Run Tests
61
61
shell : pwsh
62
62
run : ./build.ps1 -tasks noop; ipmo dbatools ; ./build.ps1 -tasks test # to get around dbatools failing to load XE.core.dll if
63
63
- name : Publish Test Artifact
64
- uses : actions/upload-artifact@v3
64
+ uses : actions/upload-artifact@v4
65
65
with :
66
66
path : ${{ env.buildFolderName }}/${{ env.testResultFolderName }}/
67
67
name : CodeCoverageLinux
78
78
ref : ${{ github.head_ref }} # checkout the correct branch name
79
79
fetch-depth : 0
80
80
- name : Download Build Artifact
81
- uses : actions/download-artifact@v3
81
+ uses : actions/download-artifact@v4
82
82
with :
83
83
name : ${{ env.buildArtifactName }}
84
84
path : ${{ env.buildFolderName }}
87
87
run : ./build.ps1 -tasks noop; ipmo dbatools ; ./build.ps1 -tasks test # to get around dbatools failing to load XE.core.dll if
88
88
89
89
- name : Publish Test Artifact
90
- uses : actions/upload-artifact@v3
90
+ uses : actions/upload-artifact@v4
91
91
with :
92
92
path : ${{ env.buildFolderName }}/${{ env.testResultFolderName }}/
93
93
name : CodeCoverageWinPS7
@@ -104,15 +104,15 @@ jobs:
104
104
ref : ${{ github.head_ref }} # checkout the correct branch name
105
105
fetch-depth : 0
106
106
- name : Download Build Artifact
107
- uses : actions/download-artifact@v3
107
+ uses : actions/download-artifact@v4
108
108
with :
109
109
name : ${{ env.buildArtifactName }}
110
110
path : ${{ env.buildFolderName }}
111
111
- name : Run Tests
112
112
shell : pwsh
113
113
run : ./build.ps1 -ResolveDependency -tasks test
114
114
- name : Publish Test Artifact
115
- uses : actions/upload-artifact@v3
115
+ uses : actions/upload-artifact@v4
116
116
with :
117
117
path : ${{ env.buildFolderName }}/${{ env.testResultFolderName }}/
118
118
name : CodeCoverageWinPS51
@@ -129,7 +129,7 @@ jobs:
129
129
# ref: ${{ github.head_ref }} # checkout the correct branch name
130
130
# fetch-depth: 0
131
131
# - name: Download Build Artifact
132
- # uses: actions/download-artifact@v3
132
+ # uses: actions/download-artifact@v4
133
133
# with:
134
134
# name: ${{ env.buildArtifactName }}
135
135
# path: ${{ env.buildFolderName }}
@@ -138,7 +138,7 @@ jobs:
138
138
# run: ./build.ps1 -tasks noop; ipmo dbatools ; ./build.ps1 -tasks test # to get # around dbatools failing to load XE.core.dll if
139
139
#
140
140
# - name: Publish Test Artifact
141
- # uses: actions/upload-artifact@v3
141
+ # uses: actions/upload-artifact@v4
142
142
# with:
143
143
# path: ${{ env.buildFolderName }}/${{ env.testResultFolderName }}/
144
144
# name: CodeCoverageMacOS
@@ -160,22 +160,22 @@ jobs:
160
160
ref : ${{ github.head_ref }} # checkout the correct branch name
161
161
fetch-depth : 0
162
162
# - name: Download Test Artifact macOS
163
- # uses: actions/download-artifact@v3
163
+ # uses: actions/download-artifact@v4
164
164
# with:
165
165
# name: CodeCoverageMacOS
166
166
# path: ${{ env.buildFolderName }}/${{ env.testResultFolderName }}/CodeCoverageMacOS/
167
167
- name : Download Test Artifact Linux
168
- uses : actions/download-artifact@v3
168
+ uses : actions/download-artifact@v4
169
169
with :
170
170
name : CodeCoverageLinux
171
171
path : ${{ env.buildFolderName }}/${{ env.testResultFolderName }}/CodeCoverageLinux/
172
172
- name : Download Test Artifact Windows (PS 5.1)
173
- uses : actions/download-artifact@v3
173
+ uses : actions/download-artifact@v4
174
174
with :
175
175
name : CodeCoverageWinPS51
176
176
path : ${{ env.buildFolderName }}/${{ env.testResultFolderName }}/CodeCoverageWinPS51/
177
177
- name : Download Test Artifact Windows (PS7)
178
- uses : actions/download-artifact@v3
178
+ uses : actions/download-artifact@v4
179
179
with :
180
180
name : CodeCoverageWinPS7
181
181
path : ${{ env.buildFolderName }}/${{ env.testResultFolderName }}/CodeCoverageWinPS7/
@@ -349,7 +349,7 @@ jobs:
349
349
ref : ${{ github.head_ref }} # checkout the correct branch name
350
350
fetch-depth : 0
351
351
- name : Download Build Artifact
352
- uses : actions/download-artifact@v3
352
+ uses : actions/download-artifact@v4
353
353
with :
354
354
name : ${{ env.buildArtifactName }}
355
355
path : ${{ env.buildFolderName }}
0 commit comments