Skip to content

Commit cbadac0

Browse files
committed
fix: CI pipeline - install dotnet-outdated tool and improve GitHub Release dependencies [release]
1 parent 4bf438c commit cbadac0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ jobs:
145145
create-release:
146146
name: Create GitHub Release
147147
runs-on: ubuntu-latest
148-
needs: [build, publish-nuget]
148+
needs: [build, publish-nuget, publish-github-packages]
149149
if: github.ref == 'refs/heads/main' && contains(github.event.head_commit.message, '[release]')
150150
permissions:
151151
contents: write
@@ -278,7 +278,8 @@ jobs:
278278
echo "Checking for vulnerable packages..."
279279
dotnet list package --vulnerable
280280
echo "Checking for outdated packages..."
281-
dotnet outdated --upgrade
281+
dotnet tool install --global dotnet-outdated-tool || echo "dotnet-outdated already installed"
282+
dotnet outdated --upgrade || echo "No outdated packages or tool unavailable"
282283
283284
- name: Run CodeQL Analysis
284285
continue-on-error: true

0 commit comments

Comments
 (0)