fix: Update dotnet restore command to use custom NuGet configuration
Build and Deploy to Kubernetes / build-and-deploy (push) Failing after 5s
Build and Deploy to Kubernetes / build-and-deploy (push) Failing after 5s
This commit is contained in:
@@ -57,7 +57,7 @@ jobs:
|
|||||||
194.5.195.53:32082/dotnet/sdk:9.0 sh -c '
|
194.5.195.53:32082/dotnet/sdk:9.0 sh -c '
|
||||||
for proj in $(find . -name "*Protobuf*.csproj" -type f); do
|
for proj in $(find . -name "*Protobuf*.csproj" -type f); do
|
||||||
echo "📦 $proj"
|
echo "📦 $proj"
|
||||||
dotnet restore "$proj"
|
dotnet restore "$proj" --configfile src/NuGet.config
|
||||||
dotnet build "$proj" -c Release --no-restore
|
dotnet build "$proj" -c Release --no-restore
|
||||||
dotnet pack "$proj" -c Release --no-build -o "$(dirname $proj)/nupkg"
|
dotnet pack "$proj" -c Release --no-build -o "$(dirname $proj)/nupkg"
|
||||||
for nupkg in $(dirname $proj)/nupkg/*.nupkg; do
|
for nupkg in $(dirname $proj)/nupkg/*.nupkg; do
|
||||||
|
|||||||
Reference in New Issue
Block a user