From 2c1a53ec9376a511d56922f740749cafaeb92f84 Mon Sep 17 00:00:00 2001 From: Rainer Sigwald Date: Thu, 10 Dec 2020 17:42:57 +0000 Subject: [PATCH] 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. --- ci/dotnet.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/dotnet.yml b/ci/dotnet.yml index 198096c..aa0a093 100644 --- a/ci/dotnet.yml +++ b/ci/dotnet.yml @@ -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