From 319a0e1295fa3584daed571c162bab2dab2749fb Mon Sep 17 00:00:00 2001 From: Timothy Schenk Date: Wed, 1 Nov 2023 19:00:52 +0100 Subject: [PATCH] ci: again --- .gitea/workflows/server.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/server.yaml b/.gitea/workflows/server.yaml index 888d123..86d60a0 100644 --- a/.gitea/workflows/server.yaml +++ b/.gitea/workflows/server.yaml @@ -35,10 +35,10 @@ jobs: apt-get install --yes openjdk-11-jre dotnet tool install --global dotnet-sonarscanner dotnet tool install --global dotnet-coverage - export PATH="$PATH:/root/.dotnet/tools" + export PATH="$PATH:$HOME/.dotnet/tools" - name: Sonarqube Begin run: | - dotnet sonarscanner begin /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="${{ secrets.SONAR_HOST_URL }}" + dotnet-sonarscanner begin /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="${{ secrets.SONAR_HOST_URL }}" - name: Sonarqube Scan run: | dotnet build Server -c Release @@ -46,4 +46,4 @@ jobs: # dotnet-coverage collect 'dotnet test' -f xml -o 'coverage.xml' - name: Sonarqube End run: | - dotnet sonarscanner end /d:sonar.login="${{ secrets.SONAR_TOKEN }}" + dotnet-sonarscanner end /d:sonar.login="${{ secrets.SONAR_TOKEN }}"