Skip to content

Commit

Permalink
Update sonarcloud.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
theslash84 authored Mar 26, 2024
1 parent 3f22a7d commit 0f8257b
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,16 @@ jobs:
java-version: '17'
distribution: 'adopt'

- name: Install SonarScanner for .NET
run: dotnet tool install --global dotnet-sonarscanner

- name: Begin SonarCloud Analysis
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: >
dotnet sonarscanner begin /k:"eziodevio" /o:"eziodevio"
/d:sonar.login="${{ secrets.SONAR_TOKEN }}"
/d:sonar.host.url="https://sonarcloud.io"
dotnet sonarscanner begin /k:"eziodevio" /o:"eziodevio"
/d:sonar.login="${{ secrets.SONAR_TOKEN }}"
/d:sonar.host.url="https://sonarcloud.io"
/d:sonar.branch.name=main
- name: Build Project
run: dotnet build
Expand Down

0 comments on commit 0f8257b

Please # to comment.