Skip to content

Commit f5f3f65

Browse files
committed
Fix CI
1 parent 49ad0f6 commit f5f3f65

3 files changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/main.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,15 @@ jobs:
1818
dotnet-version: 9.x
1919

2020
- name: Run the Cake script
21-
uses: cake-build/cake-action@94fa55b4f83cee90f2621654eba6a056ae71df90
21+
uses: cake-build/cake-action@v3
2222
with:
2323
verbosity: Minimal
2424

2525
- uses: actions/upload-artifact@v4
2626
with:
2727
name: nuget packages
28-
path: ./*/bin/Release*/*.nupkg
28+
path: ./Build/*.nupkg
29+
30+
- name: Publish to NuGet
31+
run: |
32+
dotnet nuget push ./Build/*.nupkg -k ${{ secrets.NUGETKEY }} -s https://api.nuget.org/v3/index.json

Next.Hazel/Dtls/DtlsConnectionListener.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1096,8 +1096,7 @@ private async ValueTask HandleNonPeerRecord(ByteSpan message, IPEndPoint peerAdd
10961096

10971097
var originalMessage = message;
10981098

1099-
Handshake handshake;
1100-
if (!Handshake.Parse(out handshake, message))
1099+
if (!Handshake.Parse(out var handshake, message))
11011100
{
11021101
Logger.Error($"Dropping malformed handshake message from non-peer `{peerAddress}`");
11031102
return;

build.cake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Task("Build")
1010
var settings = new DotNetBuildSettings
1111
{
1212
Configuration = "Release",
13+
OutputDirectory = "./Build/"
1314
MSBuildSettings = new DotNetMSBuildSettings(),
1415
};
1516

0 commit comments

Comments
 (0)