Skip to content

Commit 524510a

Browse files
committed
ci: fix
1 parent 6358a78 commit 524510a

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/dotnet.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,12 @@ jobs:
3232
# Restore all projects
3333
# Linux restore will warn about net9.0-windows target but won't fail
3434
- name: Restore
35-
run: dotnet restore
36-
35+
run: |
36+
if [ "$RUNNER_OS" = "Linux" ]; then
37+
dotnet restore src/Trion.Desktop/Trion.Desktop.csproj -f net9.0
38+
else
39+
dotnet restore
40+
fi
3741
# Build only the target framework appropriate for each OS
3842
- name: Build desktop (Windows)
3943
if: runner.os == 'Windows'

0 commit comments

Comments
 (0)