Skip to content

Commit eecc564

Browse files
Fix dotnet restore condition
1 parent a4283ed commit eecc564

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ stages:
4646
cacheHitVar: 'CACHE_NUGET_RESTORED'
4747

4848
- script: dotnet restore $(solution) --locked-mode
49-
condition: or(not(${{ parameters.cache_nuget }}), ne(variables.CACHE_NUGET_RESTORED, true))
49+
condition: or(not(${{ parameters.cache_nuget }}), ne(variables.CACHE_NUGET_RESTORED, 'true'))
5050
displayName: Restore NuGet packages
5151

5252
# Build

0 commit comments

Comments
 (0)