Skip to content

Commit 6272a39

Browse files
committed
GitHubCI: tweak linux*-github lanes to setup .NET6
Same as some macOS&windows lanes already do, otherwise we get this error saying that the oldest .NET available is 8.x: ``` You must install or update .NET to run this application. App: /home/runner/work/geewallet/geewallet/src/GWallet.Frontend.Console/bin/Debug/net6.0/GWallet.Frontend.Console.dll Architecture: x64 Framework: 'Microsoft.NETCore.App', version '6.0.0' (x64) .NET location: /usr/share/dotnet/ The following frameworks were found: 8.0.6 at [/usr/share/dotnet/shared/Microsoft.NETCore.App] 8.0.22 at [/usr/share/dotnet/shared/Microsoft.NETCore.App] 9.0.6 at [/usr/share/dotnet/shared/Microsoft.NETCore.App] 9.0.11 at [/usr/share/dotnet/shared/Microsoft.NETCore.App] 10.0.0 at [/usr/share/dotnet/shared/Microsoft.NETCore.App] Learn more: https://aka.ms/dotnet/app-launch-failed ```
1 parent b11a29f commit 6272a39

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/CI.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,10 @@ jobs:
220220
- uses: actions/checkout@v1
221221
with:
222222
submodules: false
223+
- name: Setup .NET SDK 6.0.x
224+
uses: actions/[email protected]
225+
with:
226+
dotnet-version: '6.0.113'
223227
- name: install missing dependencies
224228
run: sudo DEBIAN_FRONTEND=noninteractive apt install --yes fsharp nunit-console
225229
- name: check runtime version(s)
@@ -245,6 +249,10 @@ jobs:
245249
- uses: actions/checkout@v1
246250
with:
247251
submodules: false
252+
- name: Setup .NET SDK 6.0.x
253+
uses: actions/[email protected]
254+
with:
255+
dotnet-version: '6.0.113'
248256
- name: install missing dependencies
249257
run: sudo DEBIAN_FRONTEND=noninteractive apt install --yes fsharp nunit-console
250258
- name: install last version of mono (Microsoft APT repositories)
@@ -475,6 +483,10 @@ jobs:
475483
- uses: actions/checkout@v1
476484
with:
477485
submodules: false
486+
- name: Setup .NET SDK 6.0.x
487+
uses: actions/[email protected]
488+
with:
489+
dotnet-version: '6.0.113'
478490
- name: install missing dependencies
479491
run: sudo DEBIAN_FRONTEND=noninteractive apt install --yes fsharp nunit-console
480492
- name: check runtime version(s)
@@ -498,6 +510,10 @@ jobs:
498510
runs-on: ubuntu-22.04
499511
steps:
500512
- uses: actions/checkout@v1
513+
- name: Setup .NET SDK 6.0.x
514+
uses: actions/[email protected]
515+
with:
516+
dotnet-version: '6.0.113'
501517
- name: install missing dependencies
502518
run: sudo DEBIAN_FRONTEND=noninteractive apt install --yes fsharp nunit-console
503519
- name: install last version of mono (Microsoft APT repositories)

0 commit comments

Comments
 (0)