Skip to content

Add Socket.ReceiveWithPool() for optimized receive-side pooling #24

Add Socket.ReceiveWithPool() for optimized receive-side pooling

Add Socket.ReceiveWithPool() for optimized receive-side pooling #24

Workflow file for this run

name: Documentation
on:
push:
branches:
- main
paths:
- 'src/**'
- 'docs/**'
- 'docfx.json'
- 'toc.yml'
- '.github/workflows/docs.yml'
workflow_dispatch:
permissions:
contents: write
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Setup DocFX
run: dotnet tool update -g docfx
- name: Restore dependencies
run: dotnet restore
- name: Build solution
run: dotnet build --configuration Release --no-restore
- name: Generate metadata
run: docfx metadata docfx.json
- name: Build documentation
run: docfx build docfx.json
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: '_site'
deploy:
needs: build-docs
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4