Skip to content

Commit 6dba0bc

Browse files
committed
ci: upgrade dotnet version from 3 to 8
This primarily fixes the issue where "no usable version of libssl was found" (see [this post](https://stackoverflow.com/a/72836925)) as newer Ubuntu versions upgraded OpenSSL to version 3.0, which are not supported by dotnet versions 5 and older. Therefore, we can upgrade the local version of dotnet to one that does support this version of OpenSSL. This has the added benefit of using a more up-to-date LTS version of dotnet as v3.1 reached EOL at the end of 2022.
1 parent 2d49594 commit 6dba0bc

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/nuget_deploy.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,10 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v3
14-
- name: Install SSL dependencies
15-
run: |
16-
sudo apt-get update
17-
sudo apt-get install -y libssl-dev
1814
- name: Setup dotnet
1915
uses: actions/setup-dotnet@v1
2016
with:
21-
dotnet-version: 3.1.x
17+
dotnet-version: 8.x
2218
- name: Build and Pack
2319
run: |
2420
dotnet restore

0 commit comments

Comments
 (0)