Skip to content

Validate NuGet packages #2318

Validate NuGet packages

Validate NuGet packages #2318

name: Validate NuGet packages
on:
schedule:
- cron: '0 9 * * *'
workflow_dispatch:
push:
branches: [ main ]
paths:
- '.github/workflows/validate-nupkgs.yaml'
- '**.csproj'
pull_request:
branches: [ main ]
paths:
- '.github/workflows/validate-nupkgs.yaml'
- '**.csproj'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: "recursive"
- name: Setup .NET SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.x'
- name: Pack
run: dotnet pack
- name: Validate
shell: pwsh
run: ./scripts/validate-nupkgs.ps1