Use legacy solution format (.sln) to fix MSBuild project not found errors
Build and Test / build (push) Failing after 54s
Build and Test / build (push) Failing after 54s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user