Use legacy solution format (.sln) to fix MSBuild project not found errors
Build and Test / build (push) Failing after 54s

This commit is contained in:
Marek Novák
2026-07-01 23:50:48 +02:00
parent 4871dd4006
commit dd7f1cdaa4
3 changed files with 89 additions and 13 deletions
+3 -3
View File
@@ -19,13 +19,13 @@ jobs:
dotnet-version: '10.0.x'
- name: Restore dependencies
run: dotnet restore NixWslWrapper.slnx
run: dotnet restore NixWslWrapper.sln
- name: Build solution
run: dotnet build NixWslWrapper.slnx --configuration Release --no-restore
run: dotnet build NixWslWrapper.sln --configuration Release --no-restore
- name: Run unit tests
run: dotnet test NixWslWrapper.slnx --configuration Release --no-build --verbosity normal
run: dotnet test NixWslWrapper.sln --configuration Release --no-build --verbosity normal
- name: Publish single-file executable
run: dotnet publish src/NixWslWrapper.Cli/NixWslWrapper.Cli.csproj -c Release -r win-x64 --self-contained -p:PublishSingleFile=true -o ./dist