From f173e84ca04da8bb30020cba5fd02939455ae849 Mon Sep 17 00:00:00 2001 From: chopin-fan Date: Thu, 27 Jun 2024 21:37:45 +0800 Subject: [PATCH] Debug issue --- .github/workflows/sonarqube.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sonarqube.yaml b/.github/workflows/sonarqube.yaml index e4683ee16b..e1d5417a20 100644 --- a/.github/workflows/sonarqube.yaml +++ b/.github/workflows/sonarqube.yaml @@ -7,8 +7,6 @@ jobs: static-code-analysis: runs-on: ubuntu-latest steps: - - name: Install protobuf - run: sudo apt-get update && sudo apt-get install -y protobuf-compiler - name: Code Checkout uses: actions/checkout@v4 with: @@ -39,6 +37,8 @@ jobs: run: dotnet tool update dotnet-sonarscanner --tool-path ./.sonar/scanner - name: Add .NET global tools to PATH run: echo "$HOME/.dotnet/tools" >> $GITHUB_PATH + - name: Install protobuf + run: sudo apt-get update && sudo apt-get install -y protobuf-compiler - name: Begin SonarQube analysis run: | ./.sonar/scanner/dotnet-sonarscanner begin /k:"AElf" /d:sonar.host.url="${{ secrets.SONAR_HOST_URL }}" /d:sonar.token="${{ secrets.SONAR_TOKEN }}"