Skip to content

Commit

Permalink
simplify build commands
Browse files Browse the repository at this point in the history
  • Loading branch information
ssg committed Oct 7, 2024
1 parent 754790b commit 1ba04dc
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,11 @@ jobs:
with:
dotnet-version: 8.0.x

- name: Restore dependencies
run: |
dotnet restore src
dotnet restore test
dotnet restore benchmark
- name: Build
run: |
dotnet build --no-restore --configuration Release src
dotnet build --no-restore --configuration Release test
dotnet build --no-restore --configuration Release benchmark
run: dotnet build --configuration Release

- name: Run tests
run: dotnet test --no-build --configuration Release test
run: dotnet test --no-build --configuration Release

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

0 comments on commit 1ba04dc

Please sign in to comment.