Skip to content

Commit 5058861

Browse files
author
Rafal Maciag
committed
Fix workflow paths - specify solution file for dotnet commands
1 parent 3120936 commit 5058861

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ jobs:
2828
node-version: '18'
2929

3030
- name: Restore dependencies
31-
run: dotnet restore
31+
run: dotnet restore XtermBlazor.sln
3232

3333
- name: Build
34-
run: dotnet build --configuration Release --no-restore
34+
run: dotnet build XtermBlazor.sln --configuration Release --no-restore
3535

3636
- name: Test
37-
run: dotnet test --no-build --verbosity normal --configuration Release
37+
run: dotnet test XtermBlazor.sln --no-build --verbosity normal --configuration Release
3838

3939
- name: Pack (dry run)
4040
run: dotnet pack XtermBlazor/XtermBlazor.csproj --configuration Release --no-build --output ./nupkgs

.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
49+
run: dotnet restore XtermBlazor.sln
5050

5151
- name: Build
52-
run: dotnet build --configuration Release --no-restore
52+
run: dotnet build XtermBlazor.sln --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)