File tree Expand file tree Collapse file tree 7 files changed +35
-7
lines changed Expand file tree Collapse file tree 7 files changed +35
-7
lines changed Original file line number Diff line number Diff line change 24
24
[Bb ]in /
25
25
[Oo ]bj /
26
26
[Ll ]og /
27
+ msbuild.binlog
27
28
28
29
# Visual Studio 2015 cache/options directory
29
30
.vs /
@@ -295,4 +296,4 @@ __pycache__/
295
296
.vscode
296
297
297
298
# OSX
298
- .DS_Store
299
+ .DS_Store
Original file line number Diff line number Diff line change
1
+ trigger :
2
+ branches :
3
+ include : ["master"]
4
+ paths :
5
+ exclude : [".github", "doc", "*.md"]
6
+
1
7
jobs :
2
8
- job : Windows
3
9
displayName : Windows
12
18
vmImage : ' windows-2019'
13
19
steps :
14
20
- template : build.yml
21
+ - task : CopyFiles@2
22
+ displayName : Collect packages
23
+ inputs :
24
+ SourceFolder : build\$(BuildConfiguration)
25
+ Contents : ' *.nupkg'
26
+ TargetFolder : $(Build.ArtifactStagingDirectory)\Packages
27
+ - task : PublishBuildArtifacts@1
28
+ displayName : Publish packages as build artifacts
29
+ inputs :
30
+ PathtoPublish : $(Build.ArtifactStagingDirectory)\Packages
31
+ ArtifactName : Packages
32
+ publishLocation : Container
33
+ condition : eq(variables['BuildConfiguration'], 'Release')
15
34
16
35
- job : macOS
17
36
displayName : macOS
Original file line number Diff line number Diff line change 31
31
</Target >
32
32
33
33
<Target Name =" CreateNuGetPackage" AfterTargets =" RunTests" Condition =" $(Configuration) == 'Release'" >
34
- <Exec Command =" dotnet pack " $(MSBuildThisFileDirectory)src\coverlet.msbuild.tasks\coverlet.msbuild.tasks.csproj" -c $(Configuration) -o $(OutputPath) /p:PublicRelease=$(PublicRelease)" />
35
- <Exec Command =" dotnet pack " $(MSBuildThisFileDirectory)src\coverlet.console\coverlet.console.csproj" -c $(Configuration) -o $(OutputPath) /p:PublicRelease=$(PublicRelease)" />
36
- <Exec Command =" dotnet pack " $(MSBuildThisFileDirectory)src\coverlet.collector\coverlet.collector.csproj" -c $(Configuration) -o $(OutputPath) /p:PublicRelease=$(PublicRelease)" />
34
+ <Exec Command =" dotnet pack coverlet.sln -c $(Configuration) /p:PublicRelease=$(PublicRelease)" />
37
35
</Target >
38
36
39
37
</Project >
Original file line number Diff line number Diff line change 1
1
steps :
2
- - task : DotNetCoreInstaller@0
2
+ - task : UseDotNet@2
3
3
inputs :
4
- version : ' 2.2.300'
5
- displayName : ' Install .NET Core SDK'
4
+ version : 2.2.300
5
+ displayName : Install .NET Core SDK
6
+
6
7
- script : dotnet msbuild build.proj /p:Configuration=$(buildConfiguration)
7
8
displayName : ' Run Build'
Original file line number Diff line number Diff line change 4
4
<OutputType >Library</OutputType >
5
5
<TargetFramework >netstandard2.0</TargetFramework >
6
6
<AssemblyVersion >5.1.0</AssemblyVersion >
7
+ <IsPackable >false</IsPackable >
7
8
</PropertyGroup >
8
9
9
10
<ItemGroup >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <Project >
3
+ <PropertyGroup >
4
+ <IsTestProject >true</IsTestProject >
5
+ </PropertyGroup >
6
+ </Project >
Original file line number Diff line number Diff line change 2
2
3
3
<PropertyGroup >
4
4
<TargetFramework >netcoreapp2.0</TargetFramework >
5
+ <IsPackable >false</IsPackable >
6
+ <IsTestProject >false</IsTestProject >
5
7
</PropertyGroup >
6
8
7
9
</Project >
You can’t perform that action at this time.
0 commit comments