Commit d05fba5 1 parent a29d673 commit d05fba5 Copy full SHA for d05fba5
File tree 1 file changed +3
-3
lines changed
content/actions/use-cases-and-examples/building-and-testing
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -171,9 +171,9 @@ steps:
171
171
- name: Install dependencies
172
172
run: dotnet restore
173
173
- name: Build
174
- run: dotnet build
174
+ run: dotnet build --no-restore
175
175
- name: Test with the dotnet CLI
176
- run: dotnet test
176
+ run: dotnet test --no-build
177
177
` ` `
178
178
179
179
# # Packaging workflow data as artifacts
@@ -204,7 +204,7 @@ jobs:
204
204
- name: Install dependencies
205
205
run: dotnet restore
206
206
- name: Test with dotnet
207
- run: dotnet test --logger trx --results-directory {% raw %}"TestResults-${{ matrix.dotnet-version }}"{% endraw %}
207
+ run: dotnet test --no-restore -- logger trx --results-directory {% raw %}"TestResults-${{ matrix.dotnet-version }}"{% endraw %}
208
208
- name: Upload dotnet test results
209
209
uses: {% data reusables.actions.action-upload-artifact %}
210
210
with:
You can’t perform that action at this time.
0 commit comments