99
99
targetType : inline
100
100
script : |
101
101
$count = (Get-ChildItem -Path '.' -Filter '*.nupkg' -Recurse).Count
102
- Write-Host $count + ' NuGet packages found'
102
+ Write-Host $count ' NuGet packages found'
103
103
104
104
# set variable to forward
105
105
echo "##vso[task.setvariable variable=NUGET_COUNT;isOutput=true]$count"
@@ -109,7 +109,7 @@ steps:
109
109
condition : >-
110
110
and(
111
111
succeeded(),
112
- gt(variables.NUGET_COUNT, 0),
112
+ gt(variables['Count_Artifacts .NUGET_COUNT'] , 0),
113
113
eq(variables['System.PullRequest.PullRequestId'], '')
114
114
)
115
115
inputs :
@@ -133,7 +133,7 @@ steps:
133
133
condition : >-
134
134
and(
135
135
succeeded(),
136
- gt(variables.NUGET_COUNT, 0),
136
+ gt(variables['Count_Artifacts .NUGET_COUNT'] , 0),
137
137
eq(variables['System.PullRequest.PullRequestId'], '')
138
138
)
139
139
@@ -156,7 +156,7 @@ steps:
156
156
condition : >-
157
157
and(
158
158
succeeded(),
159
- gt(variables.NUGET_COUNT, 0),
159
+ gt(variables['Count_Artifacts .NUGET_COUNT'] , 0),
160
160
eq(variables['System.PullRequest.PullRequestId'], '')
161
161
)
162
162
continueOnError : false
@@ -168,7 +168,7 @@ steps:
168
168
condition : >-
169
169
and(
170
170
succeeded(),
171
- gt(variables.NUGET_COUNT, 0),
171
+ gt(variables['Count_Artifacts .NUGET_COUNT'] , 0),
172
172
eq(variables['System.PullRequest.PullRequestId'], '')
173
173
)
174
174
continueOnError : false
@@ -179,7 +179,7 @@ steps:
179
179
condition : >-
180
180
and(
181
181
succeeded(),
182
- gt(variables.NUGET_COUNT, 0),
182
+ gt(variables['Count_Artifacts .NUGET_COUNT'] , 0),
183
183
eq(variables['System.PullRequest.PullRequestId'], '')
184
184
)
185
185
inputs :
@@ -193,7 +193,7 @@ steps:
193
193
condition : >-
194
194
and(
195
195
succeeded(),
196
- gt(variables.NUGET_COUNT, 0),
196
+ gt(variables['Count_Artifacts .NUGET_COUNT'] , 0),
197
197
eq(variables['System.PullRequest.PullRequestId'], '')
198
198
)
199
199
continueOnError : true
0 commit comments