File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed
Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 1010 run : dotnet restore
1111 - name : Publish for win-x64
1212 run : dotnet publish -r win-x64
13+ - name : Test run
14+ run : ./bin/Release/net8.0/win-x64/publish/WinFileReadEvents.exe testRun
1315 - name : Get version
1416 id : package_version
1517 uses : KageKirin/get-csproj-version@v0
Original file line number Diff line number Diff line change @@ -15,6 +15,11 @@ static void Main(string[] args)
1515
1616 string ? filePath = ( args . Length < 1 ) ? null : args [ 0 ] ;
1717
18+ if ( filePath == "testRun" ) {
19+ Console . WriteLine ( "x|testRun" ) ;
20+ return ;
21+ }
22+
1823 using var session = new TraceEventSession ( "FileRead" ) ;
1924
2025 Console . CancelKeyPress += ( sender , e ) => session . Stop ( ) ;
Original file line number Diff line number Diff line change 99 <RootNamespace >WinFileReadEvents</RootNamespace >
1010 <ImplicitUsings >enable</ImplicitUsings >
1111 <Nullable >enable</Nullable >
12- <Version >0.1.1 </Version >
12+ <Version >0.1.2 </Version >
1313 </PropertyGroup >
1414
1515 <ItemGroup >
You can’t perform that action at this time.
0 commit comments