Skip to content

Commit

Permalink
Split restore and build steps
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfowl committed Nov 15, 2024
1 parent 1449c43 commit 5af589d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,12 @@ jobs:

- name: Setup .NET SDK
uses: actions/setup-dotnet@v3

- name: Restore dependencies
run: dotnet restore TodoApi.sln

- name: dotnet build
run: dotnet build TodoApi.sln -c Release
run: dotnet build TodoApi.sln -c Release --no-restore

- name: dotnet test
run: dotnet test TodoApi.sln -c Release --no-build

0 comments on commit 5af589d

Please sign in to comment.