File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 uses : actions/setup-dotnet@v4
2222 with :
2323 dotnet-version : ${{ matrix.dotnet-version }}
24+ - name : Install SSL dependencies (for older .NET versions)
25+ if : matrix.dotnet-version == '2.2' || matrix.dotnet-version == '3.0' || matrix.dotnet-version == '3.1' || matrix.dotnet-version == '5.0'
26+ run : |
27+ sudo apt-get update
28+ sudo apt-get install -y libssl1.1
29+ - name : Set SSL environment variables (for older .NET versions)
30+ if : matrix.dotnet-version == '2.2' || matrix.dotnet-version == '3.0' || matrix.dotnet-version == '3.1' || matrix.dotnet-version == '5.0'
31+ run : |
32+ echo "DOTNET_SYSTEM_NET_HTTP_USESOCKETSHTTPHANDLER=0" >> $GITHUB_ENV
33+ echo "DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1" >> $GITHUB_ENV
2434 - name : Restore dependencies
2535 run : dotnet restore
2636 - name : Run tests
You can’t perform that action at this time.
0 commit comments