benaadams / Ben.Demystifier

High performance understanding for stack traces (Make error logs more productive)
Apache License 2.0
2.75k stars 118 forks source link

deterministic builds #131

Closed bruno-garcia closed 3 years ago

bruno-garcia commented 3 years ago

SourceLink is already in, but not marking the build as CI (now GH actions is in place, it's just):

https://devblogs.microsoft.com/dotnet/producing-packages-with-source-link/#deterministic-builds

bruno-garcia commented 3 years ago

We had problems with Windows GH actions too lately, restoring packages:

D:\a\Ben.Demystifier\Ben.Demystifier\test\Ben.Demystifier.Test\Ben.Demystifier.Test.csproj : error NU1102: Unable to find package Microsoft.NET.Test.Sdk with version (>= 16.8.3) [D:\a\Ben.Demystifier\Ben.Demystifier\Ben.Demystifier.sln]
D:\a\Ben.Demystifier\Ben.Demystifier\test\Ben.Demystifier.Test\Ben.Demystifier.Test.csproj : error NU1102:   - Found 1 version(s) in Microsoft Visual Studio Offline Packages [ Nearest version: 16.6.1 ] [D:\a\Ben.Demystifier\Ben.Demystifier\Ben.Demystifier.sln]
bruno-garcia commented 3 years ago

There seems to be a workaround:

https://github.com/actions/setup-dotnet/issues/155#issuecomment-748452076

Usually just starts working again after a few minutes/hours.

benaadams commented 3 years ago

Added the workaround https://github.com/benaadams/Ben.Demystifier/pull/135

bruno-garcia commented 3 years ago

🥳

benaadams commented 3 years ago

Thank you