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 3e25c6c commit c55cb87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Setup .NET 6
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x' # Make sure this matches your project's .NET version
dotnet-version: '6.0.x' # Ensure this matches your project's .NET version

- name: Setup Java 17 # SonarScanner requires Java
uses: actions/setup-java@v2
Expand All @@ -40,7 +40,7 @@ jobs:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: |
export PATH="$HOME/.dotnet/tools:$PATH"
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
dotnet sonarscanner begin /k:"eziodevio_AzureFunctionClamavKubernetes" /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 c55cb87

Please # to comment.