fix(UdpSocketFactory): Prevent unhandled exception #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish to NuGet | |
on: | |
push: | |
branches: | |
- main # Trigger the workflow on push to main branch | |
paths-ignore: | |
- '**.md' # Ignore changes in .md files | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: '6.0.x' # Set up .NET version | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Create Package | |
run: sh Pack.sh | |
- name: Push to NuGet | |
run: dotnet nuget push out/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json |