Fix solution filename in CI/CD pipeline (use .slnx extension)
Build and Test / build (push) Failing after 57s

This commit is contained in:
Marek Novák
2026-07-01 23:46:44 +02:00
parent 64722e641e
commit 4871dd4006
+3 -3
View File
@@ -19,13 +19,13 @@ jobs:
dotnet-version: '10.0.x'
- name: Restore dependencies
run: dotnet restore NixWslWrapper.sln
run: dotnet restore NixWslWrapper.slnx
- name: Build solution
run: dotnet build NixWslWrapper.sln --configuration Release --no-restore
run: dotnet build NixWslWrapper.slnx --configuration Release --no-restore
- name: Run unit tests
run: dotnet test NixWslWrapper.sln --configuration Release --no-build --verbosity normal
run: dotnet test NixWslWrapper.slnx --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