Skip to content

Commit e6be027

Browse files
committed
Eliminate unnecessary dotnet work.
1 parent d20a75e commit e6be027

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.ci/build-steps.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ steps:
2020
displayName: 'Build'
2121
inputs:
2222
command: 'build'
23-
arguments: '-c Release'
23+
arguments: '-c Release --no-restore'
2424

2525
- task: DotNetCoreCLI@2
2626
displayName: 'Publish MySqlConnector.Tests'
2727
inputs:
2828
command: 'publish'
29-
arguments: '-c Release -f netcoreapp2.1 tests/MySqlConnector.Tests/MySqlConnector.Tests.csproj'
29+
arguments: '-c Release -f netcoreapp2.1 --no-build tests/MySqlConnector.Tests/MySqlConnector.Tests.csproj'
3030
publishWebProjects: false
3131
zipAfterPublish: false
3232
- task: PublishPipelineArtifact@0
@@ -38,7 +38,7 @@ steps:
3838
displayName: 'Publish Conformance.Tests'
3939
inputs:
4040
command: 'publish'
41-
arguments: '-c Release -f netcoreapp3.0 tests/Conformance.Tests/Conformance.Tests.csproj'
41+
arguments: '-c Release -f netcoreapp3.0 --no-build tests/Conformance.Tests/Conformance.Tests.csproj'
4242
publishWebProjects: false
4343
zipAfterPublish: false
4444
- task: PublishPipelineArtifact@0
@@ -50,7 +50,7 @@ steps:
5050
displayName: 'Publish SideBySide (2.0)'
5151
inputs:
5252
command: 'publish'
53-
arguments: '-c Release -f netcoreapp2.0 tests/SideBySide/SideBySide.csproj'
53+
arguments: '-c Release -f netcoreapp2.0 --no-build tests/SideBySide/SideBySide.csproj'
5454
publishWebProjects: false
5555
zipAfterPublish: false
5656
- task: PublishPipelineArtifact@0
@@ -62,7 +62,7 @@ steps:
6262
displayName: 'Publish SideBySide (2.1)'
6363
inputs:
6464
command: 'publish'
65-
arguments: '-c Release -f netcoreapp2.1 tests/SideBySide/SideBySide.csproj'
65+
arguments: '-c Release -f netcoreapp2.1 --no-build tests/SideBySide/SideBySide.csproj'
6666
publishWebProjects: false
6767
zipAfterPublish: false
6868
- task: PublishPipelineArtifact@0
@@ -74,7 +74,7 @@ steps:
7474
displayName: 'Publish SideBySide (3.0)'
7575
inputs:
7676
command: 'publish'
77-
arguments: '-c Release -f netcoreapp3.0 tests/SideBySide/SideBySide.csproj'
77+
arguments: '-c Release -f netcoreapp3.0 --no-build tests/SideBySide/SideBySide.csproj'
7878
publishWebProjects: false
7979
zipAfterPublish: false
8080
- task: PublishPipelineArtifact@0

0 commit comments

Comments
 (0)