ci: again....
This commit is contained in:
parent
1209dcd38f
commit
af1e69f424
1 changed files with 3 additions and 2 deletions
|
@ -20,6 +20,8 @@ jobs:
|
|||
sonarqube:
|
||||
needs: build-server
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
PATH: ${{ env.HOME }}/.dotnet/tools:${{ env.PATH }}
|
||||
if: gitea.ref == 'refs/heads/master'
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
@ -39,8 +41,7 @@ jobs:
|
|||
dotnet tool install --global dotnet-coverage
|
||||
- name: Sonarqube Begin
|
||||
run: |
|
||||
export PATH="$PATH:/root/.dotnet/tools"
|
||||
dotnet sonarscanner begin /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="${{ secrets.SONAR_HOST_URL }}"
|
||||
dotnet sonarscanner begin /key:"${{ secrets.SONAR_PROJECT_KEY }}" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="${{ secrets.SONAR_HOST_URL }}"
|
||||
- name: Sonarqube Scan
|
||||
run: |
|
||||
dotnet build Server -c Release
|
||||
|
|
Loading…
Reference in a new issue