mirror of
https://github.com/actions/setup-dotnet.git
synced 2025-12-13 21:56:52 +00:00
Honor specified nuget file location (#109)
* Honor specified nuget file location * Generate and verify nuget.config
This commit is contained in:
@@ -3,6 +3,11 @@ if [ -z "$1" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -f "../nuget.config" ]; then
|
||||
echo "nuget file not generated correctly"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
dotnet_version="$(dotnet --version)"
|
||||
echo "Found dotnet version '$dotnet_version'"
|
||||
if [ -z "$(echo $dotnet_version | grep $1)" ]; then
|
||||
|
||||
Reference in New Issue
Block a user