Skip to content

Commit c9a870e

Browse files
Restore packages using MSBuild from sonarcloud workflow
1 parent 8a2dac0 commit c9a870e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/sonar-cloud.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,13 @@ jobs:
6868
/d:sonar.cs.vstest.reportsPaths=**/*.trx `
6969
/d:sonar.cs.vscoveragexml.reportsPaths=**/*.coveragexml
7070
71-
- name: Restore
72-
run: dotnet restore VSIX.sln
73-
working-directory: src
74-
7571
- name: Setup MSBuild.exe
7672
uses: microsoft/setup-msbuild@v2
7773

74+
- name: Restore
75+
run: msbuild VSIX.sln -t:Restore
76+
working-directory: src
77+
7878
- name: Build
7979
run: msbuild VSIX.sln /property:Configuration=Release /t:Rebuild
8080
working-directory: src

0 commit comments

Comments
 (0)