Skip to content

Commit 1ba04dc

Browse files
committed
simplify build commands
1 parent 754790b commit 1ba04dc

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

.github/workflows/test.yml

+2-11
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,11 @@ jobs:
1414
with:
1515
dotnet-version: 8.0.x
1616

17-
- name: Restore dependencies
18-
run: |
19-
dotnet restore src
20-
dotnet restore test
21-
dotnet restore benchmark
22-
2317
- name: Build
24-
run: |
25-
dotnet build --no-restore --configuration Release src
26-
dotnet build --no-restore --configuration Release test
27-
dotnet build --no-restore --configuration Release benchmark
18+
run: dotnet build --configuration Release
2819

2920
- name: Run tests
30-
run: dotnet test --no-build --configuration Release test
21+
run: dotnet test --no-build --configuration Release
3122

3223
- name: Pack
3324
run: dotnet pack src --no-build --configuration Release --output ./nupkg

0 commit comments

Comments
 (0)