Skip to content

Commit 15d2c7b

Browse files
committed
explicitly restore the projects to run
1 parent 4139e6e commit 15d2c7b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Diff for: .github/workflows/publish-site.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,13 @@ jobs:
1717
with:
1818
dotnet-version: 8.0.x
1919
- name: Install dependencies
20-
run: dotnet restore LearnJsonEverything/LearnJsonEverything.csproj
20+
run: |
21+
dotnet restore LearnJsonEverything/LearnJsonEverything.csproj
22+
dotnet restore LearnJsonEverything.Test/LearnJsonEverything.Test.csproj
2123
- name: Pre-build solution
22-
run: dotnet build LearnJsonEverything/LearnJsonEverything.csproj -c Release --no-restore
24+
run: dotnet build LearnJsonEverything.sln -c Release --no-restore
2325
- name: Test
24-
run: dotnet test LearnJsonEverything/LearnJsonEverything.csproj -c Release --no-restore
26+
run: dotnet test LearnJsonEverything.sln -c Release --no-restore
2527
- name: Publish
2628
run: dotnet publish LearnJsonEverything/LearnJsonEverything.csproj -c Release --no-restore -o bin
2729
- name: Add .nojekyll file

0 commit comments

Comments
 (0)