36
36
env :
37
37
ModuleVersion : ${{ env.gitVersion.NuGetVersionV2 }}
38
38
- name : Publish Build Artifact
39
- uses : actions/upload-artifact@v3
39
+ uses : actions/upload-artifact@v4
40
40
with :
41
41
name : ${{ env.buildArtifactName }}
42
42
path : ${{ env.buildFolderName }}/
@@ -53,15 +53,15 @@ jobs:
53
53
repository : ${{github.event.pull_request.head.repo.full_name}} # 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 ; ./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
79
79
repository : ${{github.event.pull_request.head.repo.full_name}} # checkout the correct branch name
80
80
fetch-depth : 0
81
81
- name : Download Build Artifact
82
- uses : actions/download-artifact@v3
82
+ uses : actions/download-artifact@v4
83
83
with :
84
84
name : ${{ env.buildArtifactName }}
85
85
path : ${{ env.buildFolderName }}
88
88
run : ./build.ps1 -tasks noop; ipmo dbatools ; ./build.ps1 -tasks test # to get around dbatools failing to load XE.core.dll if
89
89
90
90
- name : Publish Test Artifact
91
- uses : actions/upload-artifact@v3
91
+ uses : actions/upload-artifact@v4
92
92
with :
93
93
path : ${{ env.buildFolderName }}/${{ env.testResultFolderName }}/
94
94
name : CodeCoverageWinPS7
@@ -106,15 +106,15 @@ jobs:
106
106
repository : ${{github.event.pull_request.head.repo.full_name}} # checkout the correct branch name
107
107
fetch-depth : 0
108
108
- name : Download Build Artifact
109
- uses : actions/download-artifact@v3
109
+ uses : actions/download-artifact@v4
110
110
with :
111
111
name : ${{ env.buildArtifactName }}
112
112
path : ${{ env.buildFolderName }}
113
113
- name : Run Tests
114
114
shell : pwsh
115
115
run : ./build.ps1 -ResolveDependency -tasks test
116
116
- name : Publish Test Artifact
117
- uses : actions/upload-artifact@v3
117
+ uses : actions/upload-artifact@v4
118
118
with :
119
119
path : ${{ env.buildFolderName }}/${{ env.testResultFolderName }}/
120
120
name : CodeCoverageWinPS51
@@ -137,17 +137,17 @@ jobs:
137
137
fetch-depth : 0
138
138
139
139
- name : Download Test Artifact Linux
140
- uses : actions/download-artifact@v3
140
+ uses : actions/download-artifact@v4
141
141
with :
142
142
name : CodeCoverageLinux
143
143
path : ${{ env.buildFolderName }}/${{ env.testResultFolderName }}/CodeCoverageLinux/
144
144
- name : Download Test Artifact Windows (PS 5.1)
145
- uses : actions/download-artifact@v3
145
+ uses : actions/download-artifact@v4
146
146
with :
147
147
name : CodeCoverageWinPS51
148
148
path : ${{ env.buildFolderName }}/${{ env.testResultFolderName }}/CodeCoverageWinPS51/
149
149
- name : Download Test Artifact Windows (PS7)
150
- uses : actions/download-artifact@v3
150
+ uses : actions/download-artifact@v4
151
151
with :
152
152
name : CodeCoverageWinPS7
153
153
path : ${{ env.buildFolderName }}/${{ env.testResultFolderName }}/CodeCoverageWinPS7/
@@ -172,4 +172,4 @@ jobs:
172
172
if : always()
173
173
with :
174
174
nunit_files : ${{ env.buildFolderName }}/${{ env.testResultFolderName }}/CodeCoverageWinPS7/NUnit*.xml
175
- check_name : WinPS71 Test Results
175
+ check_name : WinPS71 Test Results
0 commit comments