File tree Expand file tree Collapse file tree 3 files changed +10
-9
lines changed
ImageSharpCompareTestNunit Expand file tree Collapse file tree 3 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 1
1
name : .NET build and test
2
2
env :
3
- CURRENT_VERSION : 3 .0.${{ github.run_number }}
3
+ CURRENT_VERSION : 2 .0.${{ github.run_number }}
4
4
LAST_COMMIT_MESSAGE : ${{ github.event.head_commit.message }}
5
5
6
6
on :
59
59
./ImageSharpCompare/bin/Release/*.snupkg
60
60
61
61
deployTest :
62
- if : github.ref != 'refs/heads/release '
62
+ if : github.ref == 'refs/heads/main '
63
63
runs-on : ubuntu-latest
64
64
needs : build
65
65
steps :
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
<PropertyGroup >
3
- <TargetFramework >net6 .0</TargetFramework >
3
+ <TargetFramework >netstandard2 .0</TargetFramework >
4
4
<GeneratePackageOnBuild >true</GeneratePackageOnBuild >
5
5
<GenerateDocumentationFile >true</GenerateDocumentationFile >
6
6
<RepositoryUrl >https://github.com/Codeuctivity/ImageSharp.Compare</RepositoryUrl >
43
43
</ItemGroup >
44
44
45
45
<ItemGroup >
46
- <PackageReference Include =" SixLabors.ImageSharp" Version =" 3.0.0 " />
46
+ <PackageReference Include =" SixLabors.ImageSharp" Version =" 2.1.4 " />
47
47
<PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 1.1.1" PrivateAssets =" all" />
48
- <PackageReference Include =" SonarAnalyzer.CSharp" Version =" 8.49 .0.57237 " >
48
+ <PackageReference Include =" SonarAnalyzer.CSharp" Version =" 8.55 .0.65544 " >
49
49
<PrivateAssets >all</PrivateAssets >
50
50
<IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
51
51
</PackageReference >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFramework >net6.0</TargetFramework >
4
+ <TargetFrameworks Condition =" '$(OS)' == 'Windows_NT' " >net48;net6.0</TargetFrameworks >
5
+ <TargetFrameworks Condition =" '$(OS)' != 'Windows_NT' " >net6.0</TargetFrameworks >
5
6
<IsPackable >false</IsPackable >
6
7
<LangVersion >8.0</LangVersion >
7
8
<Nullable >enable</Nullable >
14
15
<IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
15
16
</PackageReference >
16
17
<PackageReference Include =" nunit" Version =" 3.13.3" />
17
- <PackageReference Include =" SonarAnalyzer.CSharp" Version =" 8.49 .0.57237 " >
18
+ <PackageReference Include =" SonarAnalyzer.CSharp" Version =" 8.55 .0.65544 " >
18
19
<IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
19
20
<PrivateAssets >all</PrivateAssets >
20
21
</PackageReference >
21
- <PackageReference Include =" NUnit3TestAdapter" Version =" 4.3.1 " >
22
+ <PackageReference Include =" NUnit3TestAdapter" Version =" 4.4.2 " >
22
23
<PrivateAssets >all</PrivateAssets >
23
24
<IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
24
25
</PackageReference >
25
- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.4 .0" />
26
+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.5 .0" />
26
27
</ItemGroup >
27
28
28
29
<ItemGroup >
You can’t perform that action at this time.
0 commit comments