File tree 7 files changed +24
-46
lines changed
7 files changed +24
-46
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ install:
13
13
- ps : ' & "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 2.1.818 -InstallDir $env:DOTNET_INSTALL_DIR'
14
14
- ps : ' & "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 3.1.414 -InstallDir $env:DOTNET_INSTALL_DIR'
15
15
- ps : ' & "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 5.0.402 -InstallDir $env:DOTNET_INSTALL_DIR'
16
- - ps : ' & "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 6.0.100-rc.2.21505.57 -InstallDir $env:DOTNET_INSTALL_DIR'
16
+ - ps : ' & "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 6.0.100 -InstallDir $env:DOTNET_INSTALL_DIR'
17
17
- ps : $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
18
18
- ps : dotnet --info
19
19
Original file line number Diff line number Diff line change @@ -30,20 +30,12 @@ jobs:
30
30
31
31
- uses : actions/setup-dotnet@v1.9.0
32
32
with :
33
- # codecov and unittests need 2.1
34
- dotnet-version : ' 2.1.818'
35
- - uses : actions/setup-dotnet@v1.9.0
36
- with :
37
- dotnet-version : ' 3.1.414'
38
- - uses : actions/setup-dotnet@v1.9.0
39
- with :
40
- # gitversion needs 5.0
41
- dotnet-version : ' 5.0.402'
42
- - uses : actions/setup-dotnet@v1.9.0
43
- with :
44
- # need at least .NET 6 rc2 to build
45
- dotnet-version : ' 6.0.100-rc.2.21505.57'
46
- include-prerelease : true
33
+ # codecov and unittests need 2.1, gitversion needs 5.0 and need .NET 6 to build
34
+ dotnet-version : |
35
+ 2.1.818
36
+ 3.1.414
37
+ 5.0.402
38
+ 6.0.100
47
39
48
40
- name : Cache Tools
49
41
uses : actions/cache@v2.1.7
Original file line number Diff line number Diff line change @@ -26,20 +26,12 @@ jobs:
26
26
27
27
- uses : actions/setup-dotnet@v1.9.0
28
28
with :
29
- # codecov and unittests need 2.1
30
- dotnet-version : ' 2.1.818'
31
- - uses : actions/setup-dotnet@v1.9.0
32
- with :
33
- dotnet-version : ' 3.1.414'
34
- - uses : actions/setup-dotnet@v1.9.0
35
- with :
36
- # gitversion needs 5.0
37
- dotnet-version : ' 5.0.402'
38
- - uses : actions/setup-dotnet@v1.9.0
39
- with :
40
- # need at least .NET 6 rc2 to build
41
- dotnet-version : ' 6.0.100-rc.2.21505.57'
42
- include-prerelease : true
29
+ # codecov and unittests need 2.1, gitversion needs 5.0 and need .NET 6 to build
30
+ dotnet-version : |
31
+ 2.1.818
32
+ 3.1.414
33
+ 5.0.402
34
+ 6.0.100
43
35
44
36
- name : Cache Tools
45
37
uses : actions/cache@v2.1.7
Original file line number Diff line number Diff line change 1
1
{
2
2
"sdk" : {
3
3
"allowPrerelease" : true ,
4
- "version" : " 6.0.100-rc.2 " ,
4
+ "version" : " 6.0.100" ,
5
5
"rollForward" : " latestFeature"
6
6
}
7
7
}
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFramework >netcoreapp2.1</ TargetFramework >
4
+ <TargetFrameworks >netcoreapp3.1;net5.0;net6.0</ TargetFrameworks >
5
5
</PropertyGroup >
6
6
7
7
<ItemGroup >
8
- <PackageReference Include =" Cake.Common" Version =" 1 .0.0" />
9
- <PackageReference Include =" Cake.Core" Version =" 1 .0.0" />
10
- <PackageReference Include =" Cake.Testing" Version =" 1 .0.0" />
8
+ <PackageReference Include =" Cake.Common" Version =" 2 .0.0" />
9
+ <PackageReference Include =" Cake.Core" Version =" 2 .0.0" />
10
+ <PackageReference Include =" Cake.Testing" Version =" 2 .0.0" />
11
11
<PackageReference Include =" coverlet.msbuild" Version =" 3.1.0" >
12
12
<IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
13
13
<PrivateAssets >all</PrivateAssets >
Original file line number Diff line number Diff line change @@ -32,5 +32,7 @@ public ICollection<string> GetArguments(string name)
32
32
{
33
33
return _arguments . TryGetValue ( name , out var val ) ? val : new List < string > ( ) ;
34
34
}
35
+
36
+ public IDictionary < string , ICollection < string > > GetArguments ( ) => _arguments ;
35
37
}
36
38
}
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFrameworks >netstandard2.0 ;net5.0</TargetFrameworks >
4
+ <TargetFrameworks >netcoreapp3.1 ;net5.0;net6 .0</TargetFrameworks >
5
5
<GenerateDocumentationFile >true</GenerateDocumentationFile >
6
6
<IncludeSymbols >true</IncludeSymbols >
7
7
<SymbolPackageFormat >snupkg</SymbolPackageFormat >
8
8
</PropertyGroup >
9
9
10
10
<ItemGroup >
11
- <!--
12
- The target of this addin is NuGet.Packaging/NuGet.Core.
13
- Since "they" double-target netstandard2.0 and net471
14
- the guideline to target cake addins to net461
15
- (see https://cake-contrib.github.io/CakeContrib.Guidelines/rules/ccg0007)
16
- can be ignored.
17
- -->
18
- <CakeContribGuidelinesOmitTargetFramework Include =" net461" />
19
11
<None Include =" ../../README.md" Link =" README.md" Pack =" true" PackagePath =" " />
20
12
</ItemGroup >
21
13
39
31
<PrivateAssets >all</PrivateAssets >
40
32
<IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
41
33
</PackageReference >
42
- <PackageReference Include =" Cake.Common" Version =" 1 .0.0" PrivateAssets =" All" />
43
- <PackageReference Include =" Cake.Core" Version =" 1 .0.0" PrivateAssets =" All" />
44
- <PackageReference Include =" CakeContrib.Guidelines" Version =" 1.2 .0" >
34
+ <PackageReference Include =" Cake.Common" Version =" 2 .0.0" PrivateAssets =" All" />
35
+ <PackageReference Include =" Cake.Core" Version =" 2 .0.0" PrivateAssets =" All" />
36
+ <PackageReference Include =" CakeContrib.Guidelines" Version =" 1.3 .0" >
45
37
<PrivateAssets >all</PrivateAssets >
46
38
<IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
47
39
</PackageReference >
You can’t perform that action at this time.
0 commit comments