File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -179,7 +179,9 @@ jobs:
179179 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
180180 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
181181 shell : powershell
182+ env :
183+ SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
182184 run : |
183- .\.sonar\scanner\dotnet-sonarscanner begin /k:"abhinavminhas_QueryDB" /o:"abhinavminhas" /d:sonar.token="${{ secrets. SONAR_TOKEN }} " /d:sonar.host.url="https://sonarcloud.io"
185+ .\.sonar\scanner\dotnet-sonarscanner begin /k:"abhinavminhas_QueryDB" /o:"abhinavminhas" /d:sonar.token="$SONAR_TOKEN" /d:sonar.host.url="https://sonarcloud.io"
184186 dotnet build
185- .\.sonar\scanner\dotnet-sonarscanner end /d:sonar.token="${{ secrets. SONAR_TOKEN }} "
187+ .\.sonar\scanner\dotnet-sonarscanner end /d:sonar.token="$SONAR_TOKEN"
Original file line number Diff line number Diff line change 3939 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4040 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
4141 shell : powershell
42+ env :
43+ SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
4244 run : |
43- .\.sonar\scanner\dotnet-sonarscanner begin /k:"abhinavminhas_QueryDB" /o:"abhinavminhas" /d:sonar.token="${{ secrets. SONAR_TOKEN }} " /d:sonar.host.url="https://sonarcloud.io"
45+ .\.sonar\scanner\dotnet-sonarscanner begin /k:"abhinavminhas_QueryDB" /o:"abhinavminhas" /d:sonar.token="$SONAR_TOKEN" /d:sonar.host.url="https://sonarcloud.io"
4446 dotnet build
45- .\.sonar\scanner\dotnet-sonarscanner end /d:sonar.token="${{ secrets. SONAR_TOKEN }} "
47+ .\.sonar\scanner\dotnet-sonarscanner end /d:sonar.token="$SONAR_TOKEN"
You can’t perform that action at this time.
0 commit comments