Skip to content

Commit

Permalink
Use step ID to set dotnet version for inspectcode
Browse files Browse the repository at this point in the history
  • Loading branch information
Pythonic-Rainbow committed Feb 23, 2024
1 parent 76d0105 commit 61ad3cc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Setup .NET
id: setup-dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.101
Expand All @@ -50,4 +51,5 @@ jobs:
workingDirectory: './Bot'
solutionPath: './Bot.sln'
noBuild: true
minimumSeverity: 'warning'
minimumSeverity: 'warning'
dotnetVersion: ${{ steps.setup-dotnet.outputs.dotnet-version }}

0 comments on commit 61ad3cc

Please sign in to comment.