Skip to content

v10.0.0 - Expanded minimal API coverage #3

v10.0.0 - Expanded minimal API coverage

v10.0.0 - Expanded minimal API coverage #3

Workflow file for this run

name: Publish
on:
release:
types: [ published ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup .NET 10.0
uses: actions/setup-dotnet@v4
with:
dotnet-version: 10.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build ./src/GeneratedEndpoints/GeneratedEndpoints.csproj --configuration Release --no-restore
- name: Pack
run: dotnet pack ./src/GeneratedEndpoints/GeneratedEndpoints.csproj --configuration Release --no-build --output .
- name: Push to NuGet
run: dotnet nuget push "*.nupkg" --api-key ${{secrets.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json