Skip to content

Commit fd73c61

Browse files
author
Rafal Maciag
committed
Build only library project for NuGet publishing - avoid demo project compatibility issues
1 parent 7c0e547 commit fd73c61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish-nuget.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ jobs:
4646
sed -i "s/<Version>.*<\/Version>/<Version>${VERSION}<\/Version>/" XtermBlazor/XtermBlazor.csproj
4747
4848
- name: Restore dependencies
49-
run: dotnet restore XtermBlazor/XtermBlazor.sln
49+
run: dotnet restore XtermBlazor/XtermBlazor.csproj
5050

5151
- name: Build
52-
run: dotnet build XtermBlazor/XtermBlazor.sln --configuration Release --no-restore
52+
run: dotnet build XtermBlazor/XtermBlazor.csproj --configuration Release --no-restore
5353

5454
- name: Pack
5555
run: dotnet pack XtermBlazor/XtermBlazor.csproj --configuration Release --no-build --output ./nupkgs

0 commit comments

Comments
 (0)