Fix C# Builds

We need to call `dotnet restore` in order to properly setup the libraries to pack. The docker image we are using will save the packages in `/lib/csharp`
pull/10795/head
deannagarcia 2 years ago committed by GitHub
parent c302d90db5
commit 7d1f2a72c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      csharp/build_release.sh

@ -7,4 +7,5 @@ set DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true
set DOTNET_CLI_TELEMETRY_OPTOUT=true
# Builds Google.Protobuf NuGet packages
dotnet restore -s /lib/csharp/ src/Google.Protobuf/Google.Protobuf.csproj
dotnet pack --no-restore -c Release src/Google.Protobuf.sln -p:ContinuousIntegrationBuild=true

Loading…
Cancel
Save