From ea2fc7549603faa3a2dd118d9d806d420070a04a Mon Sep 17 00:00:00 2001 From: Thomas Ardal Date: Fri, 24 May 2024 12:02:15 +0200 Subject: [PATCH] Fixed build script --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ec5f7b7..83a7186 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,9 +26,10 @@ jobs: run: nuget restore Elmah.Io.WinUI.sln - name: Check for vulnerable packages + shell: bash run: | set -e # This will cause the script to exit on the first error - OUTPUT=$(dotnet list package --vulnerable) + OUTPUT=$(dotnet list src/Elmah.Io.NLog/Elmah.Io.Nlog.csproj package --vulnerable) echo "$OUTPUT" if echo "$OUTPUT" | grep -q 'no vulnerable packages'; then echo "No vulnerable packages found"