From 18397784ac04c64683a7a416c4cce645a443ea51 Mon Sep 17 00:00:00 2001 From: chopin-fan Date: Thu, 27 Jun 2024 21:51:24 +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 162ed82f8c..c05083d379 100644 --- a/.github/workflows/sonarqube.yaml +++ b/.github/workflows/sonarqube.yaml @@ -7,6 +7,8 @@ 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: @@ -37,8 +39,6 @@ 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 }}"