Don't build when running tests

If the workflow is going to split restore, build, and test into separate
steps, each should use the result of the prior. Build was invoked with
`--no-restore` but test was restoring, building, and then testing.
This commit is contained in:
Rainer Sigwald
2020-12-10 17:42:57 +00:00
committed by GitHub
parent 0c4ccab691
commit 2c1a53ec93
+1 -1
View File
@@ -22,4 +22,4 @@ jobs:
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-restore --verbosity normal
run: dotnet test --no-build --verbosity normal