You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clean-up conditions and continue on caching error (Azure#25806)
There has been some recent issues with the caching tasks where it fails and blocks the build so setting it to continueOnError:true as it should never block the build. Also cleaned up some of the other conditions so they only run on successful builds instead of always.
#Installation steps need to be uncommented when switching to a newer SDK that's not available on DevOps agents
11
+
#Installation steps need to be uncommented when switching to a newer SDK that's not available on DevOps agents
12
12
- task: UseDotNet@2
13
13
displayName: 'Use .NET Core SDK'
14
14
inputs:
15
15
useGlobalJson: true
16
16
performMultiLevelLookup: true
17
17
# test-proxy requires ASP.NET Core 5.0 runtime
18
18
- task: UseDotNet@2
19
-
condition: ne(variables['Agent.OS'], 'Windows_NT') # Windows supports MultiLevelLookup and doesn't need explicit framework installation
19
+
condition: and(succeeded(), ne(variables['Agent.OS'], 'Windows_NT')) # Windows supports MultiLevelLookup and doesn't need explicit framework installation
20
20
displayName: 'Use .NET Core 5.0 SDK'
21
21
inputs:
22
22
packageType: sdk
23
23
performMultiLevelLookup: true
24
24
version: "5.0.x"
25
25
- task: UseDotNet@2
26
-
condition: ne(variables['Agent.OS'], 'Windows_NT') # Windows supports MultiLevelLookup and doesn't need explicit framework installation
26
+
condition: and(succeeded(), ne(variables['Agent.OS'], 'Windows_NT')) # Windows supports MultiLevelLookup and doesn't need explicit framework installation
27
27
displayName: 'Use .NET Core 3.1 SDK'
28
28
inputs:
29
29
# AspNetCore runtime pack can't be installed outside of SDK and we need it for intergation tests
0 commit comments