Skip to content

Merge pull request #2117 from erri120/feat/collection-images-pipeline #2142

Merge pull request #2117 from erri120/feat/collection-images-pipeline

Merge pull request #2117 from erri120/feat/collection-images-pipeline #2142

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