mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-07 21:47:43 +00:00
chore: Update Publish.yml for SonarCloud token handling and improve logging configuration
This commit is contained in:
@@ -144,15 +144,16 @@ jobs:
|
||||
dotnet restore
|
||||
|
||||
# Added verbose logging to debug 9.0.0 auth issues
|
||||
dotnet sonarscanner begin /k:"mihakralj_QuanTAlib" /o:"mihakralj-quantalib" \
|
||||
# Reverted to sonar.token since the token has been updated
|
||||
# Removed quotes from /k and /o to ensure they are parsed correctly
|
||||
dotnet sonarscanner begin /k:mihakralj_QuanTAlib /o:mihakralj-quantalib \
|
||||
/d:sonar.token="$SONAR_TOKEN" \
|
||||
/d:sonar.host.url="https://sonarcloud.io" \
|
||||
/d:sonar.cs.opencover.reportsPaths="coverage/*.xml" \
|
||||
/d:sonar.coverage.exclusions="**Tests.cs,**/*.md,**/*.html,**/*.css,**/docs/**/*,**/archive/**/*,**/notebooks/**/*,**/obj/**/*,**/bin/**/*" \
|
||||
/d:sonar.exclusions="**/TestResults/**/*,**/bin/**/*,**/obj/**/*,**/*.html,**/coverage/**/*,**/CoverageReport/**/*,**/*.md,**/*.css,**/docs/**/*,**/archive/**/*,**/notebooks/**/*" \
|
||||
/d:sonar.test.exclusions="**Tests.cs,**/obj/**/*,**/bin/**/*" \
|
||||
/d:sonar.scanner.scanAll="false" \
|
||||
/d:sonar.verbose=true
|
||||
/d:sonar.scanner.scanAll="false"
|
||||
|
||||
dotnet build --no-restore --configuration Debug
|
||||
|
||||
|
||||
Reference in New Issue
Block a user