File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -43,10 +43,10 @@ jobs:
4343 run : dotnet test
4444
4545 - name : " dotnet pack: ${{ env.VER_STR }}"
46- run : dotnet pack Src/ RT.Keyboard.csproj --configuration Release -p:InformationalVersion="${{env.VER_STR}}" -p:VersionPrefix=${{env.VER_NUM}} -p:VersionSuffix=${{env.VER_SUF}} -p:FileVersion=${{env.VER_NUM}} -p:AssemblyVersion=${{env.VER_NUM}} -o Publish
46+ run : dotnet pack Src\ RT.Keyboard.csproj --configuration Release -p:InformationalVersion="${{env.VER_STR}}" -p:VersionPrefix=${{env.VER_NUM}} -p:VersionSuffix=${{env.VER_SUF}} -p:FileVersion=${{env.VER_NUM}} -p:AssemblyVersion=${{env.VER_NUM}} -o Publish
4747
4848 - name : Push to NuGet
49- run : dotnet nuget push Publish/ *.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
49+ run : dotnet nuget push Publish\ *.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
5050
5151 - name : Upload artifact
5252 uses : actions/upload-artifact@v3
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ static class WinAPI
3434 public const int INPUT_KEYBOARD = 1 ;
3535 public const int INPUT_HARDWARE = 2 ;
3636
37+ #pragma warning disable 0649 // field is never assigned
3738 public struct KeyboardHookStruct
3839 {
3940 public int vkCode ;
You can’t perform that action at this time.
0 commit comments