-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -67,6 +67,14 @@ jobs: | |
- name: "Dotnet Cake Pack" | ||
run: dotnet cake --target=Pack | ||
shell: pwsh | ||
publish: | ||
needs: build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/[email protected] | ||
|
||
- name: Push to NuGet | ||
if: github.event_name == 'release' | ||
run: dotnet nuget push ./Artifacts/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate | ||
shell: pwsh |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -503,7 +503,7 @@ private async Task<bool> HandleDisconnectionAsync(bool clean = true) | |
|
||
// Cancel all background tasks and close the socket | ||
this.ConnectState = ConnectState.Disconnected; | ||
await this.cancellationTokenSource.CancelAsync().ConfigureAwait(false); | ||
this.cancellationTokenSource.Cancel(); | ||
Check warning on line 506 in Source/HiveMQtt/Client/HiveMQClient.cs GitHub Actions / pipeline-ubuntu-latest-dotnet-6.0.x
Check warning on line 506 in Source/HiveMQtt/Client/HiveMQClient.cs GitHub Actions / pipeline-ubuntu-latest-dotnet-7.0.x
Check warning on line 506 in Source/HiveMQtt/Client/HiveMQClient.cs GitHub Actions / pipeline-ubuntu-latest-dotnet-8.0.x
Check warning on line 506 in Source/HiveMQtt/Client/HiveMQClient.cs GitHub Actions / pipeline-ubuntu-latest-dotnet-6.0.x
Check warning on line 506 in Source/HiveMQtt/Client/HiveMQClient.cs GitHub Actions / pipeline-ubuntu-latest-dotnet-7.0.x
Check warning on line 506 in Source/HiveMQtt/Client/HiveMQClient.cs GitHub Actions / pipeline-ubuntu-latest-dotnet-8.0.x
|
||
this.CloseSocket(); | ||
|
||
if (clean) | ||
|