File tree Expand file tree Collapse file tree 3 files changed +26
-2
lines changed Expand file tree Collapse file tree 3 files changed +26
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : Nuget Publish
2
+ on :
3
+ push :
4
+ branches :
5
+ - main
6
+ jobs :
7
+ build :
8
+ name : SonarScanner
9
+ runs-on : windows-latest
10
+ steps :
11
+ - uses : actions/checkout@v2
12
+ - name : publish on version change
13
+ id : publish_nuget
14
+ uses : brandedoutcast/publish-nuget@v2
15
+ with :
16
+ # Filepath of the project to be packaged, relative to root of repository
17
+ PROJECT_FILE_PATH : CSharpDiff/CSharpDiff.csproj
Original file line number Diff line number Diff line change 3
3
<PropertyGroup >
4
4
<TargetFramework >net6.0</TargetFramework >
5
5
<ImplicitUsings >enable</ImplicitUsings >
6
- <Nullable >enable</Nullable >
6
+ <PackageId >CSharpDiff</PackageId >
7
+ <Version >0.0.1</Version >
8
+ <Authors >ThomasHambach</Authors >
9
+ <Description >
10
+ Unified Diff support for .NET. Based on the popular library JSDIFF.
11
+ </Description >
12
+ <PackageTags >Diff;UniDiff;Line Diff;Unified Diff</PackageTags >
13
+
7
14
</PropertyGroup >
8
15
9
16
</Project >
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ var text1 = "Here im. Rock you like old man.";
21
21
var text2 = " Here im. Rock you like hurricane." ;
22
22
23
23
var diff = new DiffSentence ();
24
- string patch = diff .diff (text1 , text2 );
24
+ var difference = diff .diff (text1 , text2 );
25
25
```
26
26
27
27
### Patch
You can’t perform that action at this time.
0 commit comments