Fix solution filename in CI/CD pipeline (use .slnx extension)
Build and Test / build (push) Failing after 57s
Build and Test / build (push) Failing after 57s
This commit is contained in:
@@ -19,13 +19,13 @@ jobs:
|
|||||||
dotnet-version: '10.0.x'
|
dotnet-version: '10.0.x'
|
||||||
|
|
||||||
- name: Restore dependencies
|
- name: Restore dependencies
|
||||||
run: dotnet restore NixWslWrapper.sln
|
run: dotnet restore NixWslWrapper.slnx
|
||||||
|
|
||||||
- name: Build solution
|
- 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
|
- 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
|
- 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
|
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