Skip to content

Commit

Permalink
- Added dotnet package validator to publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
KrystianLesniak committed Jul 10, 2023
1 parent 08e811f commit 1a890c4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,10 @@ jobs:
path: ${{ env.NuGetDirectory }}

- name: Install nuget validator
run: dotnet tool update Meziantou.Framework.NuGetPackageValidation.Tool --global
run: dotnet tool update dotnet-validate --global

# Validate metadata and content of the NuGet package
# https://www.nuget.org/packages/Meziantou.Framework.NuGetPackageValidation.Tool#readme-body-tab
- name: Validate package
run: meziantou.validate-nuget-package (Get-ChildItem "${{ env.NuGetDirectory }}/*.nupkg")
run: dotnet validate package local (Get-ChildItem "${{ env.NuGetDirectory }}/*.nupkg")

run_test:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 1a890c4

Please sign in to comment.