File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 3939 run : |
4040 dotnet tool install --global dotnet-sonarscanner
4141 dotnet tool install --global dotnet-coverage
42- dotnet sonarscanner begin /k:"STARIONGROUP_SysML2.NET" /o:"stariongroup" /d:sonar.token="${{ secrets. SONAR_TOKEN }} " /d:sonar.host.url="https://sonarcloud.io" /d:sonar.cs.vscoveragexml.reportsPaths=coverage.xml
42+ dotnet sonarscanner begin /k:"STARIONGROUP_SysML2.NET" /o:"stariongroup" /d:sonar.token="$SONAR_TOKEN" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.cs.vscoveragexml.reportsPaths=coverage.xml
4343
4444 - name : Build
4545 run : dotnet build --no-restore --no-incremental /p:ContinuousIntegrationBuild=true
4848 run : dotnet-coverage collect "dotnet test SysML2.NET.sln --no-restore --no-build --verbosity quiet" -f xml -o "coverage.xml"
4949
5050 - name : Sonarqube end
51- run : dotnet sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"
5251 env :
53- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
52+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
53+ SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
54+ run : dotnet sonarscanner end /d:sonar.token="$SONAR_TOKEN"
You can’t perform that action at this time.
0 commit comments