Skip to content

Commit

Permalink
update dotnet path (#2374)
Browse files Browse the repository at this point in the history
  • Loading branch information
kumaraksh1 authored Mar 11, 2024
1 parent cf094dd commit 76639e7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions vsts/pipelines/templates/_releaseStepTemplate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,12 @@ steps:
sudo apt-get update
sudo apt-get install -y dotnet-sdk-7.0
fi
# Check if dotnet is present in the PATH
echo "$PATH"
# try adding dotnet to path
export PATH=$PATH:/usr/bin/dotnet
# Check if it is in PATH now
dotnet --list-sdks
displayName: 'Install Dotnet SDK 7 if not installed'

- task: ShellScript@2
Expand Down

0 comments on commit 76639e7

Please sign in to comment.