Skip to content

Commit

Permalink
Fixed build script
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasArdal committed May 24, 2024
1 parent 1b702e6 commit ea2fc75
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit ea2fc75

Please sign in to comment.