From 0a4b170725cbf04d09b14188f139fefa047f93ff Mon Sep 17 00:00:00 2001 From: Joss Whittle Date: Thu, 14 Nov 2024 11:28:46 +0000 Subject: [PATCH] fix(sonar-dotnet): use sonar runner group (#201) --- .github/workflows/sonar-dotnet.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/sonar-dotnet.yaml b/.github/workflows/sonar-dotnet.yaml index a3042568..1df25e04 100644 --- a/.github/workflows/sonar-dotnet.yaml +++ b/.github/workflows/sonar-dotnet.yaml @@ -32,7 +32,7 @@ jobs: scan: runs-on: labels: [self-hosted, linux, x64] - group: heavy + group: sonar steps: - name: clone repo @@ -47,11 +47,11 @@ jobs: dotnet /sonar-scanner/SonarScanner.MSBuild.dll begin \ /k:$PROJECT_NAME /name:$PROJECT_NAME \ /d:sonar.host.url=$SONAR_URL \ - /d:sonar.login=$SONAR_TOKEN && \ + /d:sonar.token=$SONAR_TOKEN && \ dotnet restore $PROJECT_FILE && \ dotnet build $PROJECT_FILE -c Release && \ dotnet /sonar-scanner/SonarScanner.MSBuild.dll end \ - /d:sonar.login=$SONAR_TOKEN" + /d:sonar.token=$SONAR_TOKEN" env: SONAR_IMAGE: harbor.ukserp.ac.uk/github-workflows/dotnet-sonar:23.06.4-r2 PROJECT_NAME: ${{ inputs.project-name }}